Browse Source

bug修复

dzx 4 months ago
parent
commit
f269b3ed6e

+ 1 - 1
src/main/java/com/xjrsoft/module/student/service/impl/BaseNewStudentServiceImpl.java

@@ -222,7 +222,7 @@ public class BaseNewStudentServiceImpl extends MPJBaseServiceImpl<BaseNewStudent
                             .eq(BaseNewStudent::getGraduateClass, el.getGraduateClass())
                             .eq(BaseNewStudent::getGraduateClass, el.getGraduateClass())
                             .eq(BaseNewStudent::getName, el.getName())
                             .eq(BaseNewStudent::getName, el.getName())
             );
             );
-            if(!studentList.isEmpty() && studentList.size() > 1){
+            if(studentList.size() != 1){
                 errorList.add(el);
                 errorList.add(el);
                 continue;
                 continue;
             }
             }