src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -309,4 +309,13 @@
            #{item}
        </foreach>
    </select>
    <select id="selectCountByCreateTimeAndMemberId" resultType="java.lang.Integer">
        select
            count(a.id)
        from mall_order_info a
        where
            date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createTime}
            and a.member_id = #{memberId}
    </select>
</mapper>