From 77540ee7e27a00d845897cbb48fb58828870a785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Wed, 26 Feb 2025 14:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E6=88=B7=E7=99=BB=E5=BD=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/account/service/impl/AuthorizationServiceImpl.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/AuthorizationServiceImpl.java b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AuthorizationServiceImpl.java index 236890730..af5b4e4d8 100644 --- a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AuthorizationServiceImpl.java +++ b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AuthorizationServiceImpl.java @@ -82,7 +82,7 @@ public class AuthorizationServiceImpl implements AuthorizationService { throw new ApiNotPrintException("账户未启用"); } - user = sysUserService.queryChain().eq(SysUser::getAccount, sysUser.getId() + loginDTO.staffUserName()).one(); + user = sysUserService.queryChain().eq(SysUser::getAccount, sysUser.getId() + "@" + loginDTO.staffUserName()).one(); }else { user = sysUserService.queryChain().eq(SysUser::getAccount,loginDTO.username()).one(); }