|
@@ -87,7 +87,7 @@ public class TaStudentController extends BaseController {
|
87
|
87
|
|
88
|
88
|
if (!StringUtils.isEmpty(taStudent.getStudentNo())) {
|
89
|
89
|
TaStudent stu = iTaStudentService.getByStudentNo(taStudent.getSchoolId(), taStudent.getStudentNo());
|
90
|
|
- if (null != stu && !StringUtils.isEmpty(taStudent.getStudentId()) && stu.getStudentId().equals(taStudent.getStudentId())) {
|
|
90
|
+ if (null != stu && !StringUtils.isEmpty(taStudent.getStudentId()) && !stu.getStudentId().equals(taStudent.getStudentId())) {
|
91
|
91
|
throw new Exception("学号信息重复");
|
92
|
92
|
}
|
93
|
93
|
}
|