dzx hace 4 meses
padre
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::getName, el.getName())
             );
-            if(!studentList.isEmpty() && studentList.size() > 1){
+            if(studentList.size() != 1){
                 errorList.add(el);
                 continue;
             }