廖井涛
2024-07-29 152ed52be6432e0abc449f5349daf1ea8e41efe6
north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -148,6 +148,9 @@
        <if test="order.warehousing != null ">
            and o.warehousing = #{order.warehousing}
        </if>
        <if test="order.processingNote != null and order.processingNote != ''">
            and o.processing_note REGEXP #{order.processingNote}
        </if>
        group by o.id
        order by o.id desc
        limit #{offset},#{pageSize}
@@ -233,6 +236,9 @@
        <if test="order.warehousing != null ">
            and o.warehousing = #{order.warehousing}
        </if>
        <if test="order.processingNote != null and order.processingNote != ''">
            and o.processing_note REGEXP #{order.processingNote}
        </if>
        order by o.id desc
    </select>