From 1a3cbd5c98959fd400f1502eac68e3bb86c2fc28 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 02 六月 2025 14:05:33 +0800
Subject: [PATCH] 正面条码读取加上物料号

---
 src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
index 778eb16..138d440 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -131,7 +131,7 @@
         } else {
             staProtocol = staProtocol.clone();
         }
-        staProtocol.setWorkNo((short) commonService.getWorkNo(WorkNoType.PICK.type));
+        staProtocol.setWorkNo((short) commonService.getWorkNo(param.getFlag()));
         staProtocol.setStaNo(param.getTargetSite().shortValue());
         basDevpService.updateById(basDevp);
         boolean result = MessageQueue.offer(SlaveType.Devp, 2, new Task(2, staProtocol));

--
Gitblit v1.9.1