xiaoyong931011
2022-10-30 2f87a32d7523952e325fcbd8178d03bd402ca3be
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>