From 0ca7bf5c850eaef852a6b49d4b94e8366deedb29 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 26 May 2021 15:03:51 +0800
Subject: [PATCH] 20210525  申诉

---
 src/main/resources/mapper/documentary/FollowTraderInfoDao.xml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml b/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml
index 58e2101..f4675fb 100644
--- a/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml
+++ b/src/main/resources/mapper/documentary/FollowTraderInfoDao.xml
@@ -15,6 +15,18 @@
 	<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}
+		where a.member_id=b.trade_member_id and b.order_id=#{orderId} and b.order_type=1
+	</select>
+
+	<select id="selectAllTraderInfo" resultType="com.xcong.excoin.modules.documentary.entity.FollowTraderInfoEntity">
+		select *
+		from follow_trader_info
+		where verify_status=1
+	</select>
+
+	<select id="selectBeTraderCondition" resultType="com.xcong.excoin.modules.documentary.vo.BeTraderConditionVo">
+		select *
+		from common_configuration
+		where state=1 and type = #{type}
 	</select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1