xiaoyong931011
2021-03-26 28c75d75794e623b38be0106c126a5a65947a357
src/main/resources/mapper/documentary/FollowFollowerOrderRelationDao.xml
@@ -38,4 +38,10 @@
      from follow_follower_order_relation a, contract_order b
      where a.order_id=b.id and a.trade_member_id=#{memberId}
   </select>
   <select id="selectTraderTotalProfitSelf" resultType="java.math.BigDecimal">
      select IFNULL(sum(reward_amount), 0)
      from contract_order
      where member_id=#{memberId} and contract_type=2
   </select>
</mapper>