廖井涛
2024-02-22 e4fe69941b2dd4582ec0bd82c32b8dfbc30d85b5
north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -44,10 +44,10 @@
           </if>
           <if test="order.customerId != null and order.customerId != ''">
               and o.customer_id REGEXP #{customerId}
               and o.customer_id REGEXP #{order.customerId}
           </if>
           <if test="order.customerName != null and order.customerName != ''">
               and o.customer_name REGEXP #{customerName}
               and o.customer_name REGEXP #{order.customerName}
           </if>
           <if test="order.project != null and order.project != ''">
               and o.project REGEXP #{order.project}
@@ -60,7 +60,7 @@
           </if>
           <if test="order.area != null and order.area != ''">
               and o.area REGEXP #{order.area}
               and o.area REGEXP REGEXP_REPLACE(#{order.area}, '\\.0+$', '')
           </if>
           <if test="order.createTime != null and order.createTime != ''">
               and date(o.create_time) = #{order.createTime}
@@ -111,10 +111,10 @@
            </if>
            <if test="order.customerId != null and order.customerId != ''">
                and o.customer_id REGEXP #{customerId}
                and o.customer_id REGEXP #{order.customerId}
            </if>
            <if test="order.customerName != null and order.customerName != ''">
                and o.customer_name REGEXP #{customerName}
                and o.customer_name REGEXP #{order.customerName}
            </if>
            <if test="order.project != null and order.project != ''">
                and o.project REGEXP #{order.project}