From 50435a81915932eda06b7f1afd48f9ff1ae84f19 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期四, 10 四月 2025 17:50:28 +0800
Subject: [PATCH] 1
---
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