xiaoyong931011
2022-10-29 e7c3f6bbcc4dd37bc931f40fb6eef475272117eb
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -26,4 +26,13 @@
        order by s.create_time desc
    </select>
    <select id="selectByMemberIdAndCreateTime" resultType="java.lang.Integer">
        SELECT
        count (a.id)
        FROM
        member_coin_withdraw a
        where a.member_id = #{memberId}
            and date_format(a.create_time, '%Y-%m-%d') = #{createTime}
    </select>
</mapper>