From 3e28d83281050fb1f06b786a4a0c4839ba643a06 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 15 四月 2026 16:23:46 +0800
Subject: [PATCH] fix:发货分批发货

---
 src/main/resources/mapper/production/ProductOrderMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/production/ProductOrderMapper.xml b/src/main/resources/mapper/production/ProductOrderMapper.xml
index 49c8eb2..8a90f60 100644
--- a/src/main/resources/mapper/production/ProductOrderMapper.xml
+++ b/src/main/resources/mapper/production/ProductOrderMapper.xml
@@ -61,10 +61,10 @@
                 and sl.customer_name like concat('%',#{c.customerName},'%')
             </if>
             <if test="c.productCategory != null and c.productCategory != ''">
-                and slp.product_category like concat('%',#{c.productCategory},'%')
+                and p.product_name like concat('%',#{c.productCategory},'%')
             </if>
             <if test="c.specificationModel != null and c.specificationModel != ''">
-                and slp.specification_model like concat('%',#{c.specificationModel},'%')
+                and pm.model like concat('%',#{c.specificationModel},'%')
             </if>
             <if test="c.startTime != null and c.endTime != null">
                 and po.create_time between #{c.startTime} and #{c.endTime}

--
Gitblit v1.9.3