src/main/resources/mapper/contract/ContractOrderDao.xml
@@ -97,4 +97,14 @@ reward_ratio=#{rewardRatio} where id=#{id} </update> <select id="getBurstUsdtByMemberId" resultType="java.math.BigDecimal"> SELECT IFNULL(SUM(reward_amount), 0) FROM contract_order WHERE closing_type IN (4, 5) and member_id=#{memberId} </select> </mapper>