From cd72d7e6c3acd087091c4b2d233f35765ddbfda7 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 02 Nov 2022 11:31:04 +0800
Subject: [PATCH] 20221021

---
 src/main/resources/mapper/dapp/DappBankDao.xml |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/dapp/DappBankDao.xml b/src/main/resources/mapper/dapp/DappBankDao.xml
index 6f07358..f1d846a 100644
--- a/src/main/resources/mapper/dapp/DappBankDao.xml
+++ b/src/main/resources/mapper/dapp/DappBankDao.xml
@@ -12,5 +12,24 @@
         order by a.create_time desc
     </select>
 
+    <select id="selectBankListByMemberId" resultType="cc.mrbird.febs.dapp.vo.ApiBankListVo">
+        select
+            concat(left(a.card_code,4), '******', right(a.card_code,4)) cardCode,
+            a.card_code cardCodeClear,
+            a.member_name memberName,
+            a.id id
+        from dapp_bank a
+        where a.member_id = #{memberId}
+        order by a.create_time desc
+    </select>
+
+    <select id="selectBankListByMemberIdAndBankNo" resultType="cc.mrbird.febs.dapp.entity.DappBank">
+        select
+            a.*
+        from dapp_bank a
+        where a.member_id = #{memberId}
+        and a.card_code = #{address}
+    </select>
+
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1