|
@@ -251,6 +251,11 @@ public class ExamRoomStudentRelationServiceImpl extends BaseServiceImpl<Long, Ex
|
|
throw new BizException("考级项目不存在");
|
|
throw new BizException("考级项目不存在");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ ExamOrganizationRelation examOrganizationRelation = examOrganizationRelationDao.getExamOrganizationRelation(examId, selfOrganId);
|
|
|
|
+ if(Objects.isNull(examOrganizationRelation)||examOrganizationRelation.getIsAllowArrangeExam()==0){
|
|
|
|
+ throw new BizException("无权操作");
|
|
|
|
+ }
|
|
|
|
+
|
|
List<Integer> childOrganIds = organizationService.getChildOrganIds(selfOrganId, true);
|
|
List<Integer> childOrganIds = organizationService.getChildOrganIds(selfOrganId, true);
|
|
|
|
|
|
int sendExamPlanRooms = examRoomDao.countSendExamPlanRooms(examId, childOrganIds);
|
|
int sendExamPlanRooms = examRoomDao.countSendExamPlanRooms(examId, childOrganIds);
|