From ea5760843ac6fa45c455a0d50ac0e7bef351b64a Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期二, 26 十一月 2024 08:46:14 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml |    3 ++-
 1 files changed, 2 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 55ca7bf..691a4f1 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -2462,6 +2462,7 @@
              (select (@row_number := @row_number + 1) as id,process_id as process_id from (select process_id from pp.optimize_detail tt where project_no =#{projectNo} group by process_id) tt,(select @row_number := 0) as t) a
              on a.process_id=opd.process_id
         where opd.project_no = #{projectNo}
-        order by opd.stock_id,opd.polys_id
+        group by  order_id,od.order_number
+        order by ogd.child_width desc,ogd.child_height desc
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0