Commit 94f3cb75 authored by 黄奎's avatar 黄奎

页面修改

parent ea33105e
......@@ -58,7 +58,7 @@ namespace Edu.WebApi.Controllers.Course
{
int IsChaBan = 0;//不能插班报入
int SurplusNum = x.ClassPersion - x.OrderStudentCount;
if (x.ClassStatus == ClassStatusEnum.StudyIng && SurplusNum > 0)
if (x.ClassStatus == ClassStatusEnum.StudyIng && SurplusNum > 0 && x.OtherCourseList != null && x.OtherCourseList.Count > 0)
{
IsChaBan = 1;//可以插班报入
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment