From 6c92891658eab65ceff775536c0aea33f1b4003f Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期五, 19 十二月 2025 09:22:02 +0800
Subject: [PATCH] 解决物料修改单片面积不对

---
 north-glass-erp/src/main/java/com/example/erp/service/mm/MaterialStoreService.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/mm/MaterialStoreService.java b/north-glass-erp/src/main/java/com/example/erp/service/mm/MaterialStoreService.java
index 4c6cde1..701a4e0 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/mm/MaterialStoreService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/mm/MaterialStoreService.java
@@ -65,7 +65,7 @@
             log.setContent(object.toString());
 
             DecimalFormat decimalFormat = new DecimalFormat("#0.00");
-            singlePieceArea= Double.parseDouble(decimalFormat.format(width * height / 100000));
+            singlePieceArea= Double.parseDouble(decimalFormat.format(width * height / 1000000));
             Integer jsonCount=materialStoreMapper.selectMaterialStoreJson(json);
             if(jsonCount==0){
                 if(Long.parseLong(id)>0){

--
Gitblit v1.8.0