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 +