廖井涛
2024-07-30 c049ebf81d6f27cbd16647ee1e0b013fe4e753d6
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>