廖井涛
7 天以前 6c92891658eab65ceff775536c0aea33f1b4003f
解决物料修改单片面积不对
1个文件已修改
2 ■■■ 已修改文件
north-glass-erp/src/main/java/com/example/erp/service/mm/MaterialStoreService.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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){