From 33c638f4f7d49d92814a5d69cf51dca6026ced66 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期五, 18 十月 2024 14:22:04 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/model/command/ShuttleAssignCommand.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/model/command/ShuttleAssignCommand.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/model/command/ShuttleAssignCommand.java index 235b283..e0d7b5f 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/model/command/ShuttleAssignCommand.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/model/command/ShuttleAssignCommand.java @@ -81,6 +81,9 @@ private List<NavigateNode> nodes; public List<NavigateNode> getNodesDeepCopy() { + if (this.nodes == null) { + return null; + } List<NavigateNode> navigateNodes = new ArrayList<>(); for (NavigateNode node : nodes) { navigateNodes.add(node.clone()); -- Gitblit v1.9.1