From 219d67ef0143710f01e089cb75c0e7cf4646d7fd Mon Sep 17 00:00:00 2001 From: mrzhssss <pro6@qq.com> Date: 星期二, 11 七月 2023 17:19:14 +0800 Subject: [PATCH] 订单出库,解决了小数减法带来的误差 --- src/main/java/com/zy/asrs/service/OrderDetlService.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/OrderDetlService.java b/src/main/java/com/zy/asrs/service/OrderDetlService.java index 79ab5b0..8eb61e2 100644 --- a/src/main/java/com/zy/asrs/service/OrderDetlService.java +++ b/src/main/java/com/zy/asrs/service/OrderDetlService.java @@ -18,7 +18,7 @@ OrderDetl findByLook(List<OrderDetl> orderDetls, Long orderId, String matnr, String batch); - boolean increase(Long orderId, String matnr, String batch, Double qty); + boolean increase(Long orderId, String matnr, String batch, Double workQty); boolean decrease(String orderNo, String matnr, String batch, Double workQty); -- Gitblit v1.9.1