登陆职称修改
This commit is contained in:
parent
2753484bbb
commit
69071077bd
@ -147,8 +147,8 @@ public class UserService {
|
||||
user.setMobileEncryption(SecureUtil.md5(data.getMobile()));
|
||||
}
|
||||
|
||||
if (!Objects.equals(user.getTitle(), StringToInt.DoctorTitleToInt(data.getOfficeName()))){
|
||||
user.setTitle(StringToInt.DoctorTitleToInt(data.getOfficeName()));
|
||||
if (!Objects.equals(user.getTitle(), StringToInt.DoctorTitleToInt(data.getPositionName()))){
|
||||
user.setTitle(StringToInt.DoctorTitleToInt(data.getPositionName()));
|
||||
}
|
||||
|
||||
if (!Objects.equals(user.getDepartmentName(), data.getOfficeName())){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user