xiaoyong931011
2022-11-02 cd72d7e6c3acd087091c4b2d233f35765ddbfda7
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -26,4 +26,14 @@
        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}
            and a.is_inside = #{type}
    </select>
</mapper>