From 289723cf2efc6861403071f484cdca2270611ec7 Mon Sep 17 00:00:00 2001 From: tuqiang <437016993@qq.com> Date: Tue, 29 Oct 2024 13:11:17 +0800 Subject: [PATCH] =?UTF-8?q?rev:=E5=AF=B9=E5=B7=A5=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E5=8A=9F=E8=83=BD=E8=BF=9B=E8=A1=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/acs/order/service/impl/OrderServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/order/service/impl/OrderServiceImpl.java b/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/order/service/impl/OrderServiceImpl.java index acd8fad..0a2d855 100644 --- a/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/order/service/impl/OrderServiceImpl.java +++ b/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/order/service/impl/OrderServiceImpl.java @@ -242,6 +242,7 @@ public class OrderServiceImpl extends CommonServiceImpl i if (materialbase == null) { throw new BadRequestException("不存在物料编码为" + material_code + "的物料!"); } + int count = (int) Math.ceil((double) orderDetailDto.getProductin_qty() / materialbase.getQty()); Work work = new Work(); work.setWork_id(IdUtil.getSnowflake(1, 1).nextId() + "")