src/main/resources/mapper/dapp/DappChargeUsdtMapper.xml
@@ -14,4 +14,11 @@ where member_id = #{memberId} </select> <select id="selectBySumAmountMemberIdAndDate" resultType="java.math.BigDecimal"> select ifnull(sum(amount),0) from dapp_charge_usdt where member_id = #{memberId} and date_format(create_time, '%Y-%m-%d') = #{dateTime} </select> </mapper>