From 0bc7e73b3fc23c115b7f2010a0018c42bd403b1a Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期三, 09 七月 2025 11:19:20 +0800
Subject: [PATCH] 流程卡打印按落架顺序倒序查询
---
north-glass-erp/src/main/resources/mapper/pp/Report.xml | 2 +-
1 files changed, 1 insertions(+), 1 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 43a4af5..9eca656 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -1969,7 +1969,7 @@
LEFT JOIN
pp.reporting_work as rwk
on rw.reporting_work_id = rwk.reporting_work_id
- where position(rwk.this_process in #{selectProcesses})
+ 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
--
Gitblit v1.8.0