From 53f3256254eb4f176b664ec16fba9a678f435d7f Mon Sep 17 00:00:00 2001 From: zhangzhiqiang Date: Tue, 10 Jan 2023 14:42:33 +0800 Subject: [PATCH] =?UTF-8?q?mdf:=E4=BB=93=E5=BA=93=E5=8F=98=E5=8A=A8?= =?UTF-8?q?=E6=95=B0=E6=94=B9=E4=B8=89=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/st/core/service/impl/StorPublicServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/st/core/service/impl/StorPublicServiceImpl.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/st/core/service/impl/StorPublicServiceImpl.java index fbaeed3b..143e9050 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/st/core/service/impl/StorPublicServiceImpl.java +++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/st/core/service/impl/StorPublicServiceImpl.java @@ -205,6 +205,7 @@ public class StorPublicServiceImpl implements StorPublicService { if (change_qty <= 0) { throw new BadRequestException("变动数异常,请检查"); } + change_qty = new BigDecimal(change_qty).setScale(3, RoundingMode.HALF_UP).doubleValue(); /*"struct_id = '" + struct_id_In + "' and material_id = '" + material_id_In + "' and pcsn = '" + pcsn_In +