|
@@ -447,6 +447,8 @@ public class ExamStudentCloudServiceProvider extends ControllerSupport
|
|
|
if (null == examEntity) {
|
|
|
throw new StatusException("088003", "exam is not present");
|
|
|
}
|
|
|
+ } else {
|
|
|
+ throw new StatusException("088079", "examId,examCode,examName cannot be all empty");
|
|
|
}
|
|
|
|
|
|
if (null == courseId && StringUtils.isBlank(courseCode)) {
|
|
@@ -511,6 +513,8 @@ public class ExamStudentCloudServiceProvider extends ControllerSupport
|
|
|
if (null == examEntity) {
|
|
|
throw new StatusException("088003", "exam is not present");
|
|
|
}
|
|
|
+ } else {
|
|
|
+ throw new StatusException("088075", "examId,examCode,examName cannot be all empty");
|
|
|
}
|
|
|
|
|
|
GetStudentReq gsReq = new GetStudentReq();
|