From 2ee57da594d87099bd2f785d0eb9f126b027e527 Mon Sep 17 00:00:00 2001
From: mengjiao <3338049200@qq,com>
Date: Wed, 4 Sep 2024 13:34:32 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=93=81=E6=A8=A1=E7=B3=8A=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/wms/WmsFpStorageNewsMapper.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsFpStorageNewsMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsFpStorageNewsMapper.xml
index 745e4c1ff..a03ec3f14 100644
--- a/op-modules/op-wms/src/main/resources/mapper/wms/WmsFpStorageNewsMapper.xml
+++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsFpStorageNewsMapper.xml
@@ -53,7 +53,8 @@
and wa_code = #{waCode}
and storage_type = #{storageType}
and wl_code = #{wlCode}
- and product_code = #{productCode}
+ and product_code like concat('%', #{productCode},
+ '%')
and product_name like concat('%', #{productName},
'%')
@@ -82,6 +83,7 @@
and sap_factory_code = #{sapFactoryCode}
and wl_name like concat('%', #{wlName}, '%')
+ ORDER BY gmt_create DESC