Helius
2021-06-03 a3f86d22b6b9d5ab4a335488ddaf8edf3aa5f787
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>