|
@@ -85,11 +85,13 @@ public class DegreeController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
if(user.getOrganId() == null || user.getOrganId() == 43){
|
|
|
+ user.setUsername(degreeRegistration.getName());
|
|
|
+ user.setIdCardNo(degreeRegistration.getIdcard());
|
|
|
Organization organization = organizationDao.findByName(degreeRegistration.getCity());
|
|
|
if(Objects.nonNull(organization)){
|
|
|
user.setOrganId(organization.getId());
|
|
|
- teacherDao.updateUser(user);
|
|
|
}
|
|
|
+ teacherDao.updateUser(user);
|
|
|
}
|
|
|
degreeRegistration.setOrganId(user.getOrganId());
|
|
|
if(Objects.isNull(degreeRegistration.getOrganId())){
|