xiaoyong931011
2023-01-06 d8f20196fb659300b0a8eb3e7c5d7ab1ad7fcb7e
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -152,12 +152,12 @@
                and (b.goods_name like CONCAT('%', CONCAT(#{record.query}, '%')) or b.style_name like CONCAT('%', CONCAT(#{record.query}, '%')) or b.sku_name like CONCAT('%', CONCAT(#{record.query}, '%')))
            </if>
            <if test="record.status == 6 and record.status != 0">
                and a.status = 4 and a.comment_state = 1
                and a.status = 4 and a.comment_state = 2
            </if>
            <if test="record.status == 4 and record.status != 0">
                and a.status = 4
                and a.status = 4 and a.comment_state != 2
            </if>
            <if test="record.status != 4 and record.status != 0 and record.status != 5">
            <if test="record.status != 4 and record.status != 0 and record.status != 5 and record.status != 6">
                and a.status = #{record.status}
            </if>
            <if test="record.status == 5">
@@ -170,7 +170,7 @@
                and a.order_type=#{record.orderType}
            </if>
            <if test="record.allStatus == 2">
                and a.status <![CDATA[< ]]> 4 and a.comment_state = 1
                and a.status <![CDATA[<= ]]> 4 and a.comment_state != 2
            </if>
            <if test="record.allStatus == 3">
                and a.status = 4 and a.comment_state = 2