|
|
@ -327,11 +327,11 @@ public class SysUserServiceImpl implements ISysUserService {
|
|
|
|
|
|
|
|
|
|
|
|
refUserPositionRDao.deleteByProperties("userId", sysUser.getId()); //删除用户部门关系
|
|
|
|
refUserPositionRDao.deleteByProperties("userId", sysUser.getId()); //删除用户部门关系
|
|
|
|
|
|
|
|
|
|
|
|
RefUserPosition refUserPosition = new RefUserPosition(sysUser.getId(), pos.getId(), pos.getPositionName());;
|
|
|
|
RefUserPosition refUserPosition = new RefUserPosition(sysUser.getId(), pos.getId(), pos.getName());
|
|
|
|
refUserPositionRDao.insert(refUserPosition);
|
|
|
|
refUserPositionRDao.insert(refUserPosition);
|
|
|
|
|
|
|
|
|
|
|
|
// 岗位名称冗余
|
|
|
|
// 岗位名称冗余
|
|
|
|
sysUser.getUserInfo().setRedPositionNames(pos.getPositionName());
|
|
|
|
sysUser.getUserInfo().setRedPositionNames(pos.getName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|