From adb628d7646724beed23e53771bbf18a1b294cf0 Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Sat, 20 Feb 2021 15:01:23 +0800 Subject: [PATCH] TRC20版本提交 --- src/main/resources/mapper/documentary/FollowTraderInfoDao.xml | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml b/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml index aee0491..1633b37 100644 --- a/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml +++ b/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml @@ -8,6 +8,19 @@ <select id="selectTraderInfoByMemberId" resultType="com.xcong.excoin.modules.documentary.entity.FollowTraderInfoEntity"> - select * from follow_trader_info where member_id=#{memberId} + select * from follow_trader_info where member_id=#{memberId} and verify_status in (1,3) + </select> + + + <select id="selectTraderInfoByOrderId" resultType="com.xcong.excoin.modules.documentary.entity.FollowTraderInfoEntity"> + select a.* + from follow_trader_info a, follow_follower_order_relation b + where a.member_id=b.trade_member_id and b.order_id=#{orderId} + </select> + + <select id="selectAllTraderInfo" resultType="com.xcong.excoin.modules.documentary.entity.FollowTraderInfoEntity"> + select * + from follow_trader_info + where verify_status=1 </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1