From 292a4634d9c52ce193eca9de356d65960bdc35f4 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 15 Jan 2021 18:20:37 +0800 Subject: [PATCH] 20210115 --- 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