From 57fc660acff85425c2b4f8dfdb7801068188dcf3 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期四, 25 十二月 2025 11:45:52 +0800
Subject: [PATCH] 提交报工上传mysql做数量限制
---
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