From ff08b8d536d3229a22f7504a172124f027cf6126 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 15 七月 2025 08:59:05 +0800
Subject: [PATCH] 在制品名称显示

---
 north-glass-erp/src/main/resources/mapper/pp/Report.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/pp/Report.xml b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
index 00360af..4c262d2 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -1971,7 +1971,6 @@
         pp.reporting_work as rwk
         on rw.reporting_work_id = rwk.reporting_work_id
         where  position(#{selectProcesses} in rwk.this_process  )
-        and rwk.this_process!='鍒囧壊'
         and rw.review_status >= 0
         GROUP BY rw.process_id, rw.order_sort, rw.technology_number) as c
         on c.process_id = fc.process_id
@@ -1982,7 +1981,7 @@
         WHERE
         o.create_order>0
         and odpds.reporting_work_num_count + ifnull(c.patchNumSum, 0) - odpd.reporting_work_num_count -
-        odpd.broken_num != 0 and odpd.process!='鍒囧壊'
+        odpd.broken_num != 0 and odpd.process!=SUBSTRING_INDEX(ogd.process, '->', 1)
         and position(#{selectProcesses} in odpd.process)
         and position(#{orderId} in od.order_id)
         and position(#{inputProject} in o.project)

--
Gitblit v1.8.0