!258 修复导入用户后编辑报错
parent
16fd9dc425
commit
e99138493b
|
@ -416,7 +416,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
|||
AdminUserDO existUser = userMapper.selectByUsername(importUser.getUsername());
|
||||
if (existUser == null) {
|
||||
userMapper.insert(UserConvert.INSTANCE.convert(importUser)
|
||||
.setPassword(encodePassword(userInitPassword))); // 设置默认密码
|
||||
.setPassword(encodePassword(userInitPassword)).setPostIds(new HashSet<>())); // 设置默认密码及空岗位编号数组
|
||||
respVO.getCreateUsernames().add(importUser.getUsername());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue