From a97eb69a7233fc36a794832210fb1b0de037f2bb Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 15 四月 2026 16:39:53 +0800
Subject: [PATCH] fix:生产核算-对应工序

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

diff --git a/src/main/resources/mapper/production/ProductOrderMapper.xml b/src/main/resources/mapper/production/ProductOrderMapper.xml
index b01fdad..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}
@@ -87,6 +87,7 @@
                p.product_name,
                pp.name as  process_name,
                pm.product_id,
+               pm.uid_no,
                pm.model
         from
             product_structure ps

--
Gitblit v1.9.3