From 3f91c4b35d9cb35deac3b6e02919d0809d8b6466 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 24 Nov 2020 17:48:06 +0800
Subject: [PATCH] modify

---
 src/main/resources/mapper/member/SrcAddressDao.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/member/SrcAddressDao.xml b/src/main/resources/mapper/member/SrcAddressDao.xml
index b873023..3f68088 100644
--- a/src/main/resources/mapper/member/SrcAddressDao.xml
+++ b/src/main/resources/mapper/member/SrcAddressDao.xml
@@ -9,4 +9,8 @@
     <select id="selectOneSrcAddressUnUse" resultType="com.xcong.excoin.modules.coin.entity.TrcAddressEntity">
         select * from trc_address where is_use=2 limit 1
     </select>
+
+    <select id="selectTrcAddressByAddress" resultType="com.xcong.excoin.modules.coin.entity.TrcAddressEntity">
+        select * from trc_address where address = #{address} and is_use = 1
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1