员工账号bug修复
This commit is contained in:
@@ -82,7 +82,7 @@ public class ShopStaffServiceImpl extends ServiceImpl<ShopStaffMapper, ShopStaff
|
||||
if (count > 0) {
|
||||
throw new ApiNotPrintException("此账户名已存在");
|
||||
}
|
||||
sysUser.setAccount(shopStaffEditDTO.getAccountName());
|
||||
sysUser.setAccount(StpKit.USER.getLoginIdAsString() + "@" + shopStaffEditDTO.getAccountName());
|
||||
}
|
||||
sysUserService.updateById(sysUser);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user