From 8a8e9883dc14f70952e9fb5af702cfbea73c7125 Mon Sep 17 00:00:00 2001 From: pjb <123456> Date: 星期五, 01 八月 2025 15:11:01 +0800 Subject: [PATCH] `1` --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/WaitPakinServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/WaitPakinServiceImpl.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/WaitPakinServiceImpl.java index d727f71..c5e3ca2 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/WaitPakinServiceImpl.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/WaitPakinServiceImpl.java @@ -101,7 +101,8 @@ //濡傛灉鏄钩搴撳叆搴撳崟锛屼慨鏀硅鍗曟槑缁嗘墽琛屾暟閲� if (inType.equals(OrderType.PK_IN_ORDER.id)) { - orderDetl.setWorkQty(waitPakin.getAnfme()); + Double workQty = Math.round((orderDetl.getWorkQty() + waitPakin.getAnfme()) * 1000) / 1000.0; + orderDetl.setWorkQty(workQty); orderDetlService.updateById(orderDetl); } -- Gitblit v1.9.1