登陆职称修改

This commit is contained in:
wucongxing8150 2025-07-17 11:26:45 +08:00
parent 2753484bbb
commit 69071077bd

View File

@ -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())){