@@ -293,7 +293,7 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
* @param createId
*/
public void dataVerify(Long examId, String userName, String roomCode, String roomName, Long orgId, Long createId, List<TBUser> tbUserList, List<TBUserRole> tbUserRoleList, List<TBExamInvigilateUser> tbExamInvigilateUserList) {
- if (!checkRoomCodeExist(examId, roomCode, orgId)) {
+ if (checkRoomCodeExist(examId, roomCode, orgId)) {
throw new BusinessException("考场代码 " + roomCode + " 不存在");
}
if (Objects.nonNull(userName)) {