소스 검색

导入导出考场查询bugfix

wangliang 4 년 전
부모
커밋
b66aaad509
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      themis-business/src/main/java/com/qmth/themis/business/templete/service/impl/TempleteLogicServiceImpl.java

+ 1 - 1
themis-business/src/main/java/com/qmth/themis/business/templete/service/impl/TempleteLogicServiceImpl.java

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