From b99b4b3d1c3ce067175e088b682be740f5b4b6ed Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 18 八月 2025 11:19:04 +0800
Subject: [PATCH] 入库提示语言修改

---
 north-glass-erp/src/main/resources/mapper/pp/Report.xml |   10 ++++++----
 1 files changed, 6 insertions(+), 4 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 35073bb..bde52d5 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -186,15 +186,17 @@
                c.quantity-ifnull(c.termination_quantity,0) as glassQuantity,
 
                c.quantity-ifnull(c.termination_quantity,0) as quantityShow,
-               (c.quantity-ifnull(c.termination_quantity,0))*a.compute_area as grossAreaShow,
+               round( (c.quantity-ifnull(c.termination_quantity,0))*a.compute_area,2) as grossAreaShow,
                ifnull(c.received_quantity, 0) as StorageShow,
                ifnull(dd.quantity, 0) as shippedQuantityShow, -- 鍙戣揣鏁伴噺
-               (ifnull(c.received_quantity, 0))*a.compute_area  as StorageAreaShow,-- 鍏ュ簱闈㈢Н
+               round(ifnull(dd.quantity, 0)*a.compute_area,2) as shippedAreaShow, -- 鍙戣揣闈㈢Н
+               round((ifnull(c.received_quantity, 0))*a.compute_area,2)  as StorageAreaShow,-- 鍏ュ簱闈㈢Н
 
-               if(c.technology_number=1,(c.quantity-ifnull(c.termination_quantity,0))*a.compute_area,0) as grossArea,
+               if(c.technology_number=1, round((c.quantity-ifnull(c.termination_quantity,0))*a.compute_area,2),0) as grossArea,
                if(c.technology_number=1,ifnull(c.received_quantity, 0) ,0)                        as Storage,
                if(c.technology_number=1,ifnull(dd.quantity, 0) ,0)                          as shippedQuantity,
-               if(c.technology_number=1,(ifnull(c.received_quantity, 0))*a.compute_area,0)  as StorageArea,
+               if(c.technology_number=1,round(ifnull(dd.quantity, 0)*a.compute_area,2),0)         as shippedArea,
+               if(c.technology_number=1, round((ifnull(c.received_quantity, 0))*a.compute_area,2),0)  as StorageArea,
 
 
                ifnull(JSON_UNQUOTE(JSON_EXTRACT(a.other_columns, '$.S01')),'') AS glassNumber,

--
Gitblit v1.8.0