Bläddra i källkod

新增模糊查询

luyanwen-001 3 år sedan
förälder
incheckning
cebec92905

+ 1 - 1
abi-cloud-qr-platform-server/src/main/resources/dao/mapper/QrPackageBookingOrderMapper.xml

@@ -62,7 +62,7 @@
                and bookingOrder.booking_order = #{queryOrderFormLimitReq.bookingOrder}
             </if>
             <if test="null != queryOrderFormLimitReq.sapOrder and queryOrderFormLimitReq.sapOrder != ''">
-                AND package.sap_order_no = #{queryOrderFormLimitReq.sapOrder}
+                AND package.sap_order_no LIKE CONCAT('%',#{queryOrderFormLimitReq.sapOrder},'%')
             </if>
             <if test="null != queryOrderFormLimitReq.materialName and queryOrderFormLimitReq.materialName != ''">
                 AND material.material_name = #{queryOrderFormLimitReq.materialName}