psh 9 months ago
parent
commit
34d0a85c86
  1. 5
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java

5
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())) { if ("ZJBKGHJDJW".equals(point.getRegion_code())) {
schBaseTask.setPoint_code2(point.getPoint_code() + "0" + (point.getVehicle_qty() + 1)); schBaseTask.setPoint_code2(point.getPoint_code() + "0" + (point.getVehicle_qty() + 1));
} else { } 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())) { if (ObjectUtil.isNotEmpty(point.getIng_task_code()) && !schBaseTask.getTask_code().equals(point.getIng_task_code())) {
throw new BadRequestException("当前空架点位有任务,暂不反馈!"); throw new BadRequestException("当前空架点位有任务,暂不反馈!");
} }

Loading…
Cancel
Save