Przeglądaj źródła

选修课课程报名调整

新疆影视学院高职
zhangli 2 lat temu
rodzic
commit
ece284aaaa
2 zmienionych plików z 4 dodań i 4 usunięć
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/OpenLessonPlanOfElectiveController.cs
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/OpenLessonPlanOfElectiveStudentApi.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/OpenLessonPlanOfElectiveController.cs Wyświetl plik

@@ -756,7 +756,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
}
//专业选修课根据学生选课次数表判断选课上限
var lesson = lessonInfoIBLL.GetLessonInfoAndTypeByLessonNo(olpeEntity.LessonNo);
if (lesson.LessonTypeCode.Contains("Professional"))
if (lesson != null && lesson.LessonTypeCode.Contains("Professional"))
{
var oLPElectiveStuSelectCount = oLPElectiveStuSelectCountIBLL.GetOLPElectiveStuSelectCountEntity(olpeEntity.AcademicYearNo, olpeEntity.Semester, loginUserInfo.departmentId);
if (sslleListOfNow1.Count() > oLPElectiveStuSelectCount.SelectMaxCount)
@@ -887,7 +887,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers

//专业选修课根据学生选课次数表判断选课上限
var lesson = lessonInfoIBLL.GetLessonInfoAndTypeByLessonNo(olpeEntity.LessonNo);
if (lesson.LessonTypeCode.Contains("Professional"))
if (lesson != null && lesson.LessonTypeCode.Contains("Professional"))
{
var oLPElectiveStuSelectCount = oLPElectiveStuSelectCountIBLL.GetOLPElectiveStuSelectCountEntity(olpeEntity.AcademicYearNo, olpeEntity.Semester, loginUserInfo.departmentId);
if (sslleListOfNow1.Count() > oLPElectiveStuSelectCount.SelectMaxCount)


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/OpenLessonPlanOfElectiveStudentApi.cs Wyświetl plik

@@ -128,7 +128,7 @@ namespace Learun.Application.WebApi

//专业选修课根据学生选课次数表判断选课上限
var lesson = lessonInfoIBLL.GetLessonInfoAndTypeByLessonNo(olpeEntity.LessonNo);
if (lesson.LessonTypeCode.Contains("Professional"))
if (lesson != null && lesson.LessonTypeCode.Contains("Professional"))
{
var oLPElectiveStuSelectCount = oLPElectiveStuSelectCountIBLL.GetOLPElectiveStuSelectCountEntity(olpeEntity.AcademicYearNo, olpeEntity.Semester, stuInfoBasicEntity.DeptNo);
if (sslleListOfNow1.Count() > oLPElectiveStuSelectCount.SelectMaxCount)
@@ -397,7 +397,7 @@ namespace Learun.Application.WebApi

//专业选修课根据学生选课次数表判断选课上限
var lesson = lessonInfoIBLL.GetLessonInfoAndTypeByLessonNo(olpeEntity.LessonNo);
if (lesson.LessonTypeCode.Contains("Professional"))
if (lesson != null && lesson.LessonTypeCode.Contains("Professional"))
{
var oLPElectiveStuSelectCount = oLPElectiveStuSelectCountIBLL.GetOLPElectiveStuSelectCountEntity(olpeEntity.AcademicYearNo, olpeEntity.Semester, stuInfoBasicEntity.DeptNo);
if (sslleListOfNow1.Count() > oLPElectiveStuSelectCount.SelectMaxCount)


Ładowanie…
Anuluj
Zapisz