From 34f23d857e2e42fb3e243e4d5837741689da4e2e Mon Sep 17 00:00:00 2001
From: pjb <pjb123456>
Date: 星期六, 12 七月 2025 16:10:49 +0800
Subject: [PATCH] 对接MES出库订单下发

---
 src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java |    2 +-
 1 files changed, 1 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 0e56f41..008fa17 100644
--- a/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java
+++ b/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java
@@ -71,7 +71,7 @@
                         if (!Cools.isEmpty(wrkMast.getBarcode())) {
                             locMast.setBarcode(wrkMast.getBarcode());
                         }
-                        locMast.setLocSts(wrkMast.getSourceStaNo() == 1027 || wrkMast.getSourceStaNo() == 1020 || wrkMast.getSourceStaNo() == 1019 ? "M" : "Z");
+                        locMast.setLocSts(wrkMast.getPltType() == 1 ? "M" : "Z");
                         locMast.setIoTime(now);
                         locMast.setModiTime(now);
                         if (!locMastService.updateById(locMast)) {

--
Gitblit v1.9.1