From 3df03c486fde77ab36b9298a94bdbb0aa065a7e2 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 08 四月 2025 09:07:40 +0800
Subject: [PATCH] #
---
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/kernel/KernelService.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/kernel/KernelService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/kernel/KernelService.java
index ef67e16..678014a 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/kernel/KernelService.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/kernel/KernelService.java
@@ -85,7 +85,7 @@
/**
* 鎻愬崌鏈鸿浇璐хЩ鍔�
*/
- public List<Motion> liftMoveGoods(MotionDto origin, MotionDto target) {
+ public List<Motion> liftMoveGoods(MotionDto origin, MotionDto target, MotionCtgType type) {
List<Motion> motionList = new ArrayList<>();
motionList.add(Motion.build(motion -> {
@@ -93,6 +93,9 @@
motion.setDevice(String.valueOf(target.getLiftNo()));
motion.setMotionCtg(MotionCtgType.LIFT_WITH_GOODS.val());
+ if (type != null) {
+ motion.setMotionCtg(type.val());
+ }
if (null != origin) {
// motion.setOrigin(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), origin.getLev())));
--
Gitblit v1.9.1