|
@@ -364,6 +364,7 @@ public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor> impleme
|
|
doctor.setPhone(enPhone);
|
|
doctor.setPhone(enPhone);
|
|
doctorMapper.updateOne(doctor);
|
|
doctorMapper.updateOne(doctor);
|
|
|
|
|
|
|
|
+ userAccount.setMobile(enPhone);
|
|
userRoleService.addUserRole(userAccount, userAccount.getNickname(),
|
|
userRoleService.addUserRole(userAccount, userAccount.getNickname(),
|
|
userAccount.getHeadimg(), doctorList.get(0).getId(), 1, 1);
|
|
userAccount.getHeadimg(), doctorList.get(0).getId(), 1, 1);
|
|
}
|
|
}
|