From c8f5e604019bdbc4bd67113ffc0b2dbb1a79017a Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期五, 20 九月 2024 15:25:36 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/kernel/KernelService.java | 10 +++++++++- 1 files changed, 9 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 540dfe4..f5e1c54 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 @@ -86,7 +86,10 @@ } motion.setTarget(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), target.getLev()))); motion.setTarDrt(target.getStaNo());//鐩爣绔� - motion.setDockNo(String.valueOf(target.getDevpNo()));//杈撻�佺嚎ID + + if (target.getDevpNo() != null) { + motion.setDockNo(String.valueOf(target.getDevpNo()));//杈撻�佺嚎ID + } if (target.getSync() != null) { motion.setSync(target.getSync()); @@ -115,6 +118,11 @@ if (null != origin) { motion.setOrigin(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), origin.getLev()))); } + + if (target.getTaskNo() != null) { + motion.setTaskNo(target.getTaskNo()); + } + motion.setTarget(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), target.getLev()))); })); -- Gitblit v1.9.1