From 66e4200836f1e34c324fab2fda13dbb5d1fd9480 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Thu, 10 Dec 2020 20:11:28 +0800 Subject: [PATCH] modify trc --- 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