|
@@ -156,6 +156,11 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
|
|
if (studentPreRegistration.getUserName() != null) {
|
|
if (studentPreRegistration.getUserName() != null) {
|
|
user.setUsername(studentPreRegistration.getUserName());
|
|
user.setUsername(studentPreRegistration.getUserName());
|
|
}
|
|
}
|
|
|
|
+ if (user.getUserType() == null) {
|
|
|
|
+ user.setUserType("STUDENT");
|
|
|
|
+ } else if (!user.getUserType().contains("STUDENT")) {
|
|
|
|
+ user.setUserType(user.getUserType() + ",STUDENT");
|
|
|
|
+ }
|
|
user.setUpdateTime(date);
|
|
user.setUpdateTime(date);
|
|
teacherDao.updateUser(user);
|
|
teacherDao.updateUser(user);
|
|
}else{
|
|
}else{
|