From 2da858edbdda7f3be168f8f736ba2a9094513ef3 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 26 Oct 2022 11:33:50 +0800
Subject: [PATCH] 20221021

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

diff --git a/src/main/resources/mapper/dapp/DappBankDao.xml b/src/main/resources/mapper/dapp/DappBankDao.xml
index 6f07358..df539f5 100644
--- a/src/main/resources/mapper/dapp/DappBankDao.xml
+++ b/src/main/resources/mapper/dapp/DappBankDao.xml
@@ -12,5 +12,15 @@
         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.member_name memberName,
+            a.id id
+        from dapp_bank a
+        where a.member_id = #{memberId}
+        order by a.create_time desc
+    </select>
+
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1