From 0e7665cf9a109efe25ca847c4773ed49436911ea Mon Sep 17 00:00:00 2001 From: wenhui <1455474577@qq.com> Date: Wed, 2 Mar 2022 14:11:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=B9=B3=E5=8F=B0=E6=88=96?= =?UTF-8?q?=E8=BF=90=E8=90=A5=E5=95=86=E7=AB=AF=E5=90=84=E7=A7=8D=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=94=A8=E6=88=B7=E7=9A=84=E6=8E=A5=E5=8F=A3=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java | 2 +- .../main/resources/mapper/XhpcCommunityPersonnelMapper.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java b/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java index 2a30d9f2..d650d733 100644 --- a/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java +++ b/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java @@ -355,7 +355,7 @@ public class XhpcCardServiceImpl implements IXhpcCardService { case 3: XhpcCustomersPersonnel xhpcCustomersPersonnel = xhpcCustomersPersonnelMapper.selectByAccount(bindCardInfo.getUserAccount()); Long customersId = xhpcCustomersPersonnel.getCustomersId(); - xhpcCustomersPersonnel.setCustomersId(customersId); + xhpcIcCardInfo.setUserId(customersId); break; default: return R.fail("没有此用户类型"); diff --git a/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCommunityPersonnelMapper.xml b/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCommunityPersonnelMapper.xml index 6d5413aa..c32c8689 100644 --- a/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCommunityPersonnelMapper.xml +++ b/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCommunityPersonnelMapper.xml @@ -58,7 +58,7 @@ and account like concat('%',#{queryCondition.userAccount},'%') - and communitiy_personnel_id not in + and community_personnel_id not in #{userId} @@ -74,7 +74,7 @@ and account like concat('%',#{queryCondition.userAccount},'%') - and communitiy_personnel_id not in + and community_personnel_id not in #{userId}