From db93e8671fe9192dcd3ec5b364b65c672073b56e Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 04 Jun 2021 11:39:19 +0800 Subject: [PATCH] 20210604 --- src/main/resources/mapper/modules/FollowTraderInfoMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/FollowTraderInfoMapper.xml b/src/main/resources/mapper/modules/FollowTraderInfoMapper.xml index 9d400d2..b5634fb 100644 --- a/src/main/resources/mapper/modules/FollowTraderInfoMapper.xml +++ b/src/main/resources/mapper/modules/FollowTraderInfoMapper.xml @@ -17,6 +17,10 @@ order by s.create_time desc </select> + <select id="selectFollowNowBytraderId" resultType="java.lang.String"> + select COUNT(a.id) from follow_follower_setting a where a.trader_id = #{traderId} + </select> + <select id="selectProfitRatioTotal" resultType="java.lang.String"> select IFNULL(SUM(f.amount),'0') as amount from follow_trader_profit_detail f where f.member_id = #{memberId} </select> -- Gitblit v1.9.1