|
@@ -691,8 +691,11 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
|
examRoom.setOpenFlag(openFlag);
|
|
|
if(openFlag == 0){
|
|
|
examRoom.setExamFlag(openFlag);
|
|
|
+ Integer num = examRoomStudentRelationService.countSignInNum(examRoomId);
|
|
|
+ if(num != null && num > 0){
|
|
|
+ throw new BizException("操作失败,当前还有学员未考试");
|
|
|
+ }
|
|
|
}
|
|
|
- examRoomStudentRelationService.countSignInNum(examRoomId);
|
|
|
examRoomDao.update(examRoom);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
//加群退群
|