src/main/resources/mapper/documentary/FollowFollowerOrderRelationDao.xml
@@ -40,7 +40,7 @@ </select> <select id="selectTraderTotalProfitSelf" resultType="java.math.BigDecimal"> select IFNULL(sum(reward_amount), 0) select sum(reward_amount) from contract_order where member_id=#{memberId} and contract_type=2 </select>