Sfoglia il codice sorgente

销售订单 模糊查询

liuchaohui 2 anni fa
parent
commit
754d385686

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/mapper/xml/SyOrderDataMapper.xml

@@ -54,7 +54,7 @@
         ) b on a.id=b.sy_order_data_id
         WHERE 1=1
             <if test="sy.orderNumber != null and sy.orderNumber !=''">
-                AND order_number = #{sy.orderNumber}
+                AND order_number like CONCAT('%',#{sy.orderNumber},'%')
             </if>
              <if test="sy.customerAbbreviation != null and sy.customerAbbreviation !=''">
                  AND customer_abbreviation = #{sy.customerAbbreviation}