From 190cce54d568a96b5bedd5af6a9a7314aa61accc Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 20 六月 2023 09:42:41 +0800
Subject: [PATCH] #自动完成工作档时优化拣货单相关
---
src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java b/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java
index b27430a..a42383b 100644
--- a/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java
+++ b/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java
@@ -401,10 +401,11 @@
manPakOutEntityWrapper.eq("doc_num",wrkDetls101.get(0).getOrderNo());
manPakOutEntityWrapper.eq("matnr",wrkDetls101.get(0).getMatnr());
ManPakOut manPakOut = manPakOutService.selectOne(manPakOutEntityWrapper);
- manPakOut.setCount(manPakOut.getCount() + wrkDetls101.get(0).getAnfme());
if (manPakOut.getCount() + wrkDetls101.get(0).getAnfme() == manPakOut.getAnfme()){
manPakOut.setStatus(1);
}
+ manPakOut.setCount(manPakOut.getCount() + wrkDetls101.get(0).getAnfme());
+
if (!manPakOutService.update(manPakOut,manPakOutEntityWrapper)){
return FAIL.setMsg("鏇存柊鎷h揣鍗曞畬鎴愭暟閲忓け璐�");
}
--
Gitblit v1.9.1