|
|
@ -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("当前空架点位有任务,暂不反馈!"); |
|
|
|
} |
|
|
|