From ad4e0e5444d2f4f6a4df45742a146428d646d02e Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期一, 01 七月 2024 13:23:56 +0800
Subject: [PATCH] 提交空闲位置
---
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml | 4 +++-
1 files changed, 3 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 e1e93c3..344e39b 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -571,13 +571,15 @@
ogd.child_width,
ogd.child_height,
fc.quantity,
- ROUND(ogd.child_width * ogd.child_height * fc.quantity / 1000000, 2) as area
+ ROUND(ogd.child_width * ogd.child_height * fc.quantity / 1000000, 2) as area,
+ fc.sort
FROM flow_card AS fc
LEFT JOIN sd.order_glass_detail AS ogd ON fc.order_id = ogd.order_id
AND fc.order_number = ogd.order_number
AND fc.technology_number = ogd.technology_number
where fc.process_id = #{processId}
and fc.technology_number = #{technologyNumber}
+ order by IF(fc.sort != NULL || fc.sort != '', fc.sort, fc.order_number)
</select>
<update id="printSortMp">
--
Gitblit v1.8.0