|
|
@@ -321,10 +321,11 @@ public class SysUserServiceImpl implements ISysUserService
|
|
|
|
|
|
private void updateUserName(SysUser user) {
|
|
|
SysUser sysUser = userMapper.selectUserById(user.getUserId());
|
|
|
- if (!sysUser.getNickName().equals(user.getUserName())){
|
|
|
+ if (!sysUser.getNickName().equals(user.getNickName())){
|
|
|
//修改所有名字
|
|
|
projectStaffMapper.updateNameByAid(user);
|
|
|
projectStaffRecordMapper.updateNameByAid(user);
|
|
|
+// projectStaffRecordMapper.updateExamineName(user);
|
|
|
List<ProjectStaff> projectStaffs = projectStaffMapper.selectByAid(user.getUserId());
|
|
|
for (ProjectStaff projectStaff : projectStaffs) {
|
|
|
projectTaskMapper.updateStaffName(projectStaff.getPid());
|