From 87a59ad3e556c4fa02cd4548fb719d8358e2e1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Sat, 1 Mar 2025 16:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E8=B4=A6=E5=8F=B7bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../czg/service/account/service/impl/ShopStaffServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopStaffServiceImpl.java b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopStaffServiceImpl.java index fd8202c9a..6b0651b21 100644 --- a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopStaffServiceImpl.java +++ b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopStaffServiceImpl.java @@ -82,7 +82,7 @@ public class ShopStaffServiceImpl extends ServiceImpl 0) { throw new ApiNotPrintException("此账户名已存在"); } - sysUser.setAccount(shopStaffEditDTO.getAccountName()); + sysUser.setAccount(StpKit.USER.getLoginIdAsString() + "@" + shopStaffEditDTO.getAccountName()); } sysUserService.updateById(sysUser);