|
|
@@ -644,6 +644,7 @@ public class UserServiceImpl extends BaseServiceImpl<UserMapper, User> implement
|
|
|
user.setDeptPid(realUser.getDeptPid());
|
|
|
user.setDeptId(nowUser.getDeptId());
|
|
|
user.setRoleId(nowUser.getRoleId());
|
|
|
+ user.setCustomerId(realUser.getCustomerId());
|
|
|
if (Func.isNotEmpty(user.getPassword())) {
|
|
|
user.setPassword(DigestUtil.encrypt(user.getPassword()));
|
|
|
}
|