From a87a28e95d2492423c02d1c8a754ac5a6f718af6 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Mon, 5 Jan 2026 11:11:02 +0800
Subject: [PATCH] =?UTF-8?q?2026-01-05=20pda=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../inboundNotification/InboundNotificationHeadMapper.xml | 2 +-
src/main/resources/mapper/otherInbound/OtherInboundMapper.xml | 2 +-
.../resources/mapper/otherOutbound/OtherOutboundMapper.xml | 2 +-
.../mapper/productionInbound/ProductionInboundMapper.xml | 3 +--
.../resources/mapper/purchaseReturn/PurchaseReturnMapper.xml | 2 +-
.../resources/mapper/salesOutbound/SalesOutboundMapper.xml | 2 +-
src/main/resources/mapper/salesReturn/SalesReturnMapper.xml | 3 +--
7 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/mapper/inboundNotification/InboundNotificationHeadMapper.xml b/src/main/resources/mapper/inboundNotification/InboundNotificationHeadMapper.xml
index 7f87459..9347c06 100644
--- a/src/main/resources/mapper/inboundNotification/InboundNotificationHeadMapper.xml
+++ b/src/main/resources/mapper/inboundNotification/InboundNotificationHeadMapper.xml
@@ -23,7 +23,7 @@
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
+ OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
)
diff --git a/src/main/resources/mapper/otherInbound/OtherInboundMapper.xml b/src/main/resources/mapper/otherInbound/OtherInboundMapper.xml
index d019d91..40e72b4 100644
--- a/src/main/resources/mapper/otherInbound/OtherInboundMapper.xml
+++ b/src/main/resources/mapper/otherInbound/OtherInboundMapper.xml
@@ -25,7 +25,7 @@
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
+ OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
)
diff --git a/src/main/resources/mapper/otherOutbound/OtherOutboundMapper.xml b/src/main/resources/mapper/otherOutbound/OtherOutboundMapper.xml
index cafd16b..2cf7216 100644
--- a/src/main/resources/mapper/otherOutbound/OtherOutboundMapper.xml
+++ b/src/main/resources/mapper/otherOutbound/OtherOutboundMapper.xml
@@ -25,7 +25,7 @@
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
+ OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
)
diff --git a/src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml b/src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml
index 4868c1a..cfcb426 100644
--- a/src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml
+++ b/src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml
@@ -24,8 +24,7 @@
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR d.part_no LIKE CONCAT('%', #{searchCode}, '%')
+ OR D.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
)
diff --git a/src/main/resources/mapper/purchaseReturn/PurchaseReturnMapper.xml b/src/main/resources/mapper/purchaseReturn/PurchaseReturnMapper.xml
index d793414..7e9ba3e 100644
--- a/src/main/resources/mapper/purchaseReturn/PurchaseReturnMapper.xml
+++ b/src/main/resources/mapper/purchaseReturn/PurchaseReturnMapper.xml
@@ -28,7 +28,7 @@
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
+ OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
)
diff --git a/src/main/resources/mapper/salesOutbound/SalesOutboundMapper.xml b/src/main/resources/mapper/salesOutbound/SalesOutboundMapper.xml
index 4240483..09da8e2 100644
--- a/src/main/resources/mapper/salesOutbound/SalesOutboundMapper.xml
+++ b/src/main/resources/mapper/salesOutbound/SalesOutboundMapper.xml
@@ -27,7 +27,7 @@
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
+ OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
)
diff --git a/src/main/resources/mapper/salesReturn/SalesReturnMapper.xml b/src/main/resources/mapper/salesReturn/SalesReturnMapper.xml
index 7db328d..14497f9 100644
--- a/src/main/resources/mapper/salesReturn/SalesReturnMapper.xml
+++ b/src/main/resources/mapper/salesReturn/SalesReturnMapper.xml
@@ -27,8 +27,7 @@
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
- OR d.part_no LIKE CONCAT('%', #{searchCode}, '%')
+ OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
)