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}