From 34d0a85c86d5e9aa76a9a7c790555882c8839998 Mon Sep 17 00:00:00 2001 From: psh Date: Thu, 7 Mar 2024 15:49:39 +0800 Subject: [PATCH] fix --- .../org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java index 4842e7c..4bc61ec 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java @@ -254,7 +254,10 @@ public class KGHJRKTask extends AbstractTask { if ("ZJBKGHJDJW".equals(point.getRegion_code())) { schBaseTask.setPoint_code2(point.getPoint_code() + "0" + (point.getVehicle_qty() + 1)); } else { - schBaseTask.setPoint_code2(point.getPoint_code().replace("HCQ", "QHQ")); + //空架缓存区不需要该逻辑,左右都是同一套点位体系 + if(!"HCQ7".equals(point.getRegion_code())) { + schBaseTask.setPoint_code2(point.getPoint_code().replace("HCQ", "QHQ")); + } if (ObjectUtil.isNotEmpty(point.getIng_task_code()) && !schBaseTask.getTask_code().equals(point.getIng_task_code())) { throw new BadRequestException("当前空架点位有任务,暂不反馈!"); }