From 60def2b83b84f3e5b743e55e24bfa84e7560152b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 30 Mar 2021 10:57:20 +0800
Subject: [PATCH] modify

---
 src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml
index d92a2c7..bfca65f 100644
--- a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml
+++ b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml
@@ -102,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