WANG 5 rokov pred
rodič
commit
859ea3fe98

+ 4 - 0
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/provider/ExamStudentCloudServiceProvider.java

@@ -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();