From 71137e05f21dbab2ed1c57242d56bb7f532daf23 Mon Sep 17 00:00:00 2001 From: wuqinghua <wuqinghua> Date: Thu, 18 Nov 2021 17:28:39 +0800 Subject: [PATCH] =?UTF-8?q?2021/11/18=20=E5=90=B4=E5=8D=BF=E5=8D=8E=20=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA=E5=85=B3=E7=B3=BB=E5=9B=BE?= =?UTF-8?q?=20=E6=B2=A1=E6=9C=89=E5=A7=93=E5=90=8D=E7=9A=84=E8=A2=AB?= =?UTF-8?q?=E8=BD=AC=E8=B4=A6=E4=BA=BA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/TransferRelationshipMapper.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/TransferRelationshipMapper.xml b/src/main/resources/mapper/TransferRelationshipMapper.xml index cb78086..f55a8ba 100644 --- a/src/main/resources/mapper/TransferRelationshipMapper.xml +++ b/src/main/resources/mapper/TransferRelationshipMapper.xml @@ -53,7 +53,7 @@ <select id="personalInformationTransferor" resultType="com.example.gajz.transferrelationship.bean.vo.SearchRelationshipVo"> select "个人" as relationship,bank_account_name as name,bank_card_no as cardNumber from abc_statement where bank_card_no=#{cardnumbe} - and bank_card_no is not null and bank_account_name is not null group by bank_card_no + and bank_card_no is not null group by bank_card_no </select> <!--查询æœç´¢äººä¿¡æ¯ 被转账人--> @@ -97,8 +97,7 @@ <select id="querySubordinate" resultType="com.example.gajz.transferrelationship.bean.vo.SearchRelationshipVo"> select end_account_name as name,end_card_no as cardNumber,count(end_card_no) as transferTimes from abc_statement - where end_account_name is not null - and end_card_no is not null + where end_card_no is not null and bank_card_no=#{cardNumber} group by end_card_no </select> -- 2.18.1