xiaoyong931011
2023-08-29 246b7e2857d64e9b590d3dc3317e0b0fc459a11f
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>