xiaoyong931011
2023-01-10 73b3813c2d110bf446f251350f120bb1e2b51d0c
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -359,4 +359,17 @@
        a.status <![CDATA[< ]]> 4
        and a.member_id = #{memberId}
    </select>
    <select id="selectCountByCreateTime" resultType="java.lang.Integer">
        select
        count(a.id)
        from mall_order_info a
        where
        a.status = 4
        and a.comment_state = 2
        <if test="createdTime != null">
            and date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createdTime}
        </if>
    </select>
</mapper>