This commit is contained in:
psh
2024-03-15 09:29:05 +08:00
parent 30f3f0d202
commit 4d088d438d

View File

@@ -133,7 +133,6 @@ public class KGHJRKTask extends AbstractTask {
for (int i = schBasePointList.size() - 1; i >= 0; i--) { for (int i = schBasePointList.size() - 1; i >= 0; i--) {
SchBasePoint temp = schBasePointList.get(i); SchBasePoint temp = schBasePointList.get(i);
if (temp.getVehicle_qty() >= 1 && if (temp.getVehicle_qty() >= 1 &&
//放货三拖一起放只能到01位置
temp.getPoint_code().endsWith("01") temp.getPoint_code().endsWith("01")
&& ObjectUtil.isEmpty(temp.getIng_task_code())) { && ObjectUtil.isEmpty(temp.getIng_task_code())) {
if (schBasePoint != null) { if (schBasePoint != null) {
@@ -143,7 +142,10 @@ public class KGHJRKTask extends AbstractTask {
} }
break; break;
} }
schBasePoint = temp; //放货三拖一起放只能到01位置
if(temp.getPoint_code().endsWith("01")) {
schBasePoint = temp;
}
} }
if (ObjectUtil.isEmpty(schBasePoint)) { if (ObjectUtil.isEmpty(schBasePoint)) {
schBasePointList = pointMapper.findPointByRegion(regionCode2, "1"); schBasePointList = pointMapper.findPointByRegion(regionCode2, "1");