From 0d74b08831ab8d77d065104985623c829b3e27f2 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 30 Mar 2021 11:11:15 +0800 Subject: [PATCH] modify --- src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml index 545682b..bfca65f 100644 --- a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml +++ b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml @@ -60,7 +60,6 @@ member_id = #{memberId} and contract_type = 2 and order_type in (3,4) - and closing_type not in (4,5) order by create_time desc </select> <select id="getMyFollowOrderNowRecords" resultType="com.xcong.excoin.modules.contract.entity.ContractHoldOrderEntity"> @@ -82,7 +81,6 @@ WHERE member_id = #{memberId} and contract_type = 2 - order by opening_time desc </select> <select id="selectDocumentaryOrderSetInfoBymemberIdAndTradeId" resultType="com.xcong.excoin.modules.documentary.entity.FollowFollowerProfitEntity"> @@ -104,7 +102,7 @@ <select id="selectFollowerCntByTradeMemberId" resultType="java.lang.Integer"> select count(1) from follow_follower_profit - where trade_member_id=#{tradeMemberId} + where trade_member_id=#{tradeMemberId} and is_follow = 1 </select> <select id="selectAllFollowerProfit" resultType="java.math.BigDecimal"> -- Gitblit v1.9.1