xiaoyong931011
2022-12-20 e90dc8cdf7d4ce7d08e1ab51fcde3c28fd2995a0
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>