xiaoyong931011
2023-08-23 2f4dd0b0ba57cc66f2e2d0df7bbbf6cbfe9ba8c7
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>