xiaoyong931011
2023-09-04 5d16c166304f7386909cfb5909a7ead4fb3e09b9
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>