From ce06fcc3113dc45647910deef0e4adeaa97bfa3f Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期三, 15 十月 2025 13:32:40 +0800
Subject: [PATCH] 语言修改

---
 north-glass-erp/src/main/resources/mapper/mm/FinishedOperateLog.xml |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/mm/FinishedOperateLog.xml b/north-glass-erp/src/main/resources/mapper/mm/FinishedOperateLog.xml
index 4b0a927..200ae3a 100644
--- a/north-glass-erp/src/main/resources/mapper/mm/FinishedOperateLog.xml
+++ b/north-glass-erp/src/main/resources/mapper/mm/FinishedOperateLog.xml
@@ -658,7 +658,8 @@
                                             status,
                                             remarks,
                                             money,
-                                            area
+                                            area,
+                                            compute_area
         )
         values (
                    #{oddNumber} ,#{flowCard.order.orderId},#{flowCard.processId},#{flowCard.orderNumber},"鍏ュ簱",#{userName},
@@ -669,7 +670,7 @@
         <if test="createTime == null">
             now()
         </if>
-                ,"鏈鏍�",#{container},#{deliveryDetailMoney},#{deliveryDetailArea}
+                ,"鏈鏍�",#{container},#{deliveryDetailMoney},#{deliveryDetailArea},#{getComputeArea}
 
                )
     </insert>
@@ -790,10 +791,14 @@
                                             operator,
                                             quantity,
                                             operate_time,
-                                            status
+                                            status,
+                                            area,
+                                            compute_area,
+                                            remarks
         )
         values (
-                   #{oddNumber} ,#{orderDetail.orderId},"",#{orderDetail.orderNumber},"鍏ュ簱",#{userName},#{orderDetail.quantity},now(),"鏈鏍�"
+                   #{oddNumber} ,#{orderDetail.orderId},"",#{orderDetail.orderNumber},"鍏ュ簱",#{userName},#{orderDetail.quantity},now(),"鏈鏍�",
+                #{orderDetail.computeGrossArea},#{orderDetail.computeArea},""
                )
     </insert>
 
@@ -947,7 +952,8 @@
                                                                              o.batch,
                                                                              fol.remarks,
                                                                              SUM(fol.quantity) as quantity,
-                                                                             ROUND( sum(od.width * od.height * fol.quantity) / 1000000, 2 ) as area,
+                                                                             /*ROUND( sum(od.width * od.height * fol.quantity) / 1000000, 2 ) as area,*/
+                                                                             fol.area as area,
                                                                              ROUND( sum(od.width * od.height * fol.quantity*p.total_thickness*2.5) / 1000000, 2 ) as weight,
                                                                              fol.process_id,
                                                                              aaa.teams_groups_name,
@@ -1000,7 +1006,8 @@
             sum(fol.quantity) as quantity,
             od.product_name,
             od.product_id,
-            ROUND(sum(od.width * od.height * fol.quantity / 1000000) , 2 ) as area,
+            /*ROUND(sum(od.width * od.height * fol.quantity / 1000000) , 2 ) as area,*/
+            ROUND(sum(fol.compute_area * fol.quantity) , 2 ) as area,
             ROUND(sum(od.width * od.height * fol.quantity / 1000000) , 2 )*#{thickness}*2.5 as weight
         FROM
             ( SELECT * FROM mm.finished_operate_log aa WHERE aa.operate_type = '鍏ュ簱' AND aa.STATUS != '宸蹭綔搴�' ) fol

--
Gitblit v1.8.0