haogh 8 달 전
부모
커밋
956786e523
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/qmth/exam/reserve/service/impl/StudentApplyServiceImpl.java

+ 1 - 1
src/main/java/com/qmth/exam/reserve/service/impl/StudentApplyServiceImpl.java

@@ -337,7 +337,7 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
                 if (!studentEntity.getCategoryId().equals(categoryId)) {
                     msg.append(" 导入考生的所属教学点和系统中的考生教学点不匹配");
                 }
-                if (user.getRole().equals(Role.TEACHING) && categoryId.equals(teachingId)) {
+                if (user.getRole().equals(Role.TEACHING) && !categoryId.equals(teachingId)) {
                     msg.append(" 非本教学点考生");
                 }