|
@@ -28,6 +28,7 @@ import com.keao.edu.user.api.enums.ExamModeEnum;
|
|
import com.keao.edu.user.dao.*;
|
|
import com.keao.edu.user.dao.*;
|
|
import com.keao.edu.user.dto.*;
|
|
import com.keao.edu.user.dto.*;
|
|
import com.keao.edu.user.entity.*;
|
|
import com.keao.edu.user.entity.*;
|
|
|
|
+import com.keao.edu.user.enums.ExamStatusEnum;
|
|
import com.keao.edu.user.page.ExamRoomListQueryInfo;
|
|
import com.keao.edu.user.page.ExamRoomListQueryInfo;
|
|
import com.keao.edu.user.page.ExamRoomQueryInfo;
|
|
import com.keao.edu.user.page.ExamRoomQueryInfo;
|
|
import com.keao.edu.user.service.*;
|
|
import com.keao.edu.user.service.*;
|
|
@@ -160,6 +161,9 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
if(Objects.isNull(examinationBasic)){
|
|
if(Objects.isNull(examinationBasic)){
|
|
throw new BizException("考级项目不存在");
|
|
throw new BizException("考级项目不存在");
|
|
}
|
|
}
|
|
|
|
+ if(ExamStatusEnum.RESULT_CONFIRM.equals(examinationBasic.getStatus())){
|
|
|
|
+ throw new BizException("考级结果已确认");
|
|
|
|
+ }
|
|
if(Objects.isNull(examRoom.getExamMode())){
|
|
if(Objects.isNull(examRoom.getExamMode())){
|
|
throw new BizException("请指定考试类型");
|
|
throw new BizException("请指定考试类型");
|
|
}
|
|
}
|