Commit 0a7f3f51 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 64950969
...@@ -306,9 +306,7 @@ public class SysUserDeptPermissionServiceImpl extends ServiceImpl<SysUserDeptPer ...@@ -306,9 +306,7 @@ public class SysUserDeptPermissionServiceImpl extends ServiceImpl<SysUserDeptPer
user.setNickname(entity.getNickname()); user.setNickname(entity.getNickname());
user.setPhone(entity.getPhone()); user.setPhone(entity.getPhone());
user.setLockFlag(CommonConstants.STATUS_NORMAL); user.setLockFlag(CommonConstants.STATUS_NORMAL);
if (Common.isNotNull(user.getPassword())){ user.setPassword(ENCODER.encode(UserDeptPermConstants.DEFAULT_PASSWORD));
user.setPassword(ENCODER.encode(UserDeptPermConstants.DEFAULT_PASSWORD));
}
user.setPost(UserDeptPermConstants.CUSTOMER_SERVICE_PLATFORM); user.setPost(UserDeptPermConstants.CUSTOMER_SERVICE_PLATFORM);
user.setLockFlag(CommonConstants.STATUS_NORMAL); user.setLockFlag(CommonConstants.STATUS_NORMAL);
user.setDelFlag(CommonConstants.STATUS_NORMAL); user.setDelFlag(CommonConstants.STATUS_NORMAL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment