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