瀏覽代碼

bug修复

dzx 4 月之前
父節點
當前提交
f269b3ed6e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/xjrsoft/module/student/service/impl/BaseNewStudentServiceImpl.java

+ 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;
             }