From 763d7cf2f4aed4d21921e08d05b7b121c24ce136 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 21 十一月 2025 07:39:54 +0800
Subject: [PATCH] 解决报工查询班组带括号无法筛选问题
---
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
index a324419..07ed781 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -2173,6 +2173,15 @@
order by IF(fcs.sort != NULL or fcs.sort != '', fcs.sort, fc.order_number)
</select>
+ <select id="getgetPrintCustomDataSemiSp">
+ select * from pp.optimize_detail opd
+ where opd.process_id= #{processId} and opd.order_sort = #{orderNumber}
+ <if test="technologyNumber != null and technologyNumber != ''">
+ and opd.layer = #{technologyNumber}
+ </if>
+
+ </select>
+
<select id="selectPrintNotMp">
select fc.id,
fc.order_id,
@@ -3001,7 +3010,7 @@
</select>
<select id="getPrintProjectDetailsMpSp">
- SELECT opd.project_no,opd.stock_id,opd.polys_id,o_width,o_height,p_width,p_height
+ SELECT opd.project_no,opd.stock_id,opd.polys_id,o_width,o_height,p_width,p_height,opd.glass_id
FROM optimize_detail as opd left join optimize_layout as opl on opl.project_no=opd.project_no and opl.stock_id=opd.stock_id
where opd.project_no=#{projectNo} and opd.stock_id in
<foreach item="item" index="index" collection="stockId" open="(" separator="," close=")">
--
Gitblit v1.8.0