|
@@ -57,6 +57,7 @@ public class HandleSyncCloudServiceProvider extends ControllerSupport
|
|
|
Long courseId = req.getId();
|
|
|
String courseLevel = req.getLevel();
|
|
|
Long rootOrgId = req.getRootOrgId();
|
|
|
+ Boolean enable = req.getEnable();
|
|
|
|
|
|
if (StringUtils.isBlank(courseName)) {
|
|
|
throw new StatusException("B-100001", "courseName is null");
|
|
@@ -73,7 +74,7 @@ public class HandleSyncCloudServiceProvider extends ControllerSupport
|
|
|
|
|
|
examStudentRepo.updateCourse(courseName, courseLevel, courseId);
|
|
|
|
|
|
- examCourseRelationRepo.updateCourse(courseName, courseLevel, courseId);
|
|
|
+ examCourseRelationRepo.updateCourse(courseName, courseLevel, enable, courseId);
|
|
|
|
|
|
SyncCourseResp resp = new SyncCourseResp();
|
|
|
return resp;
|