wangliang 4 سال پیش
والد
کامیت
ecbb89795d
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      themis-backend/src/main/java/com/qmth/themis/backend/api/TEExamController.java

+ 2 - 2
themis-backend/src/main/java/com/qmth/themis/backend/api/TEExamController.java

@@ -80,10 +80,10 @@ public class TEExamController {
             throw new BusinessException("考试模式不能为空");
         }
         if (Objects.isNull(teExamDto.getName()) || Objects.equals(teExamDto.getName(), "")) {
-            throw new BusinessException("考试名称不能为空");
+            throw new BusinessException("批次名称不能为空");
         }
         if (Objects.isNull(teExamDto.getCode()) || Objects.equals(teExamDto.getCode(), "")) {
-            throw new BusinessException("考试编码不能为空");
+            throw new BusinessException("批次编码不能为空");
         }
         TEExam teExam = null;
         Long oldId = null;