From bf5d87c751bf4ba9578b5ad93b5018d4bd6d3ccf Mon Sep 17 00:00:00 2001
From: pjb <123456>
Date: 星期四, 03 七月 2025 17:10:22 +0800
Subject: [PATCH] 亮灯流程优化

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java
index e407211..8921f91 100644
--- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java
+++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java
@@ -107,9 +107,10 @@
             MergePreviewDto dto = new MergePreviewDto();
             dtos.add(dto);
 
-            double anfme = waveDetl.getAnfme() - waveDetl.getWorkQty();
+            double anfme = Math.round((waveDetl.getAnfme() - waveDetl.getWorkQty()) * 1000) / 1000.0;
             dto.setMatnr(waveDetl.getMatnr());
             dto.setBatch(waveDetl.getBatch());
+            dto.setStatus(0);
             dto.setWorkQty(0.0);
             dto.setAnfme(anfme);
             dto.setOrderIds(orderIds);
@@ -122,7 +123,7 @@
     }
 
     @PostMapping("/out/orderOut/merge/wave")
-    @OperationLog("娉㈡鍚堝苟璁㈠崟鍑哄簱")
+    @OperationLog("鐢熸垚娉㈡浠诲姟")
     @Transactional
     public R orderOutMerge(@RequestBody OrderOutMergeParamDto param) {
         outManage.orderOutMergeWave(param);

--
Gitblit v1.9.1