phase4||6重复请求不重复扣除
This commit is contained in:
@@ -252,12 +252,13 @@ public class BPSLTask extends AbstractTask {
|
|||||||
}else{
|
}else{
|
||||||
schBaseTask.setPoint_code1(point.getPoint_code().replace("HCQ","QHQ"));
|
schBaseTask.setPoint_code1(point.getPoint_code().replace("HCQ","QHQ"));
|
||||||
}
|
}
|
||||||
//重算点位时把点位占用
|
|
||||||
point.setIng_task_code(schBaseTask.getTask_code());
|
|
||||||
//如果是正极板对接位则直接减库存
|
//如果是正极板对接位则直接减库存
|
||||||
if ((point.getPoint_code().startsWith("ZJBDJW"))) {
|
if ((point.getPoint_code().startsWith("ZJBDJW"))&&!schBaseTask.getTask_code().equals(point.getIng_task_code())) {
|
||||||
point.setVehicle_qty(point.getVehicle_qty() - 1);
|
point.setVehicle_qty(point.getVehicle_qty() - 1);
|
||||||
}
|
}
|
||||||
|
//重算点位时把点位占用
|
||||||
|
point.setIng_task_code(schBaseTask.getTask_code());
|
||||||
|
|
||||||
pointService.update(point);
|
pointService.update(point);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user