haogh 8 months ago
parent
commit
956786e523

+ 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(" 非本教学点考生");
                 }