This commit is contained in:
psh
2024-03-19 18:03:38 +08:00
parent 01fa0a83eb
commit 8ca2109d99
2 changed files with 3 additions and 4 deletions

View File

@@ -134,9 +134,8 @@ public class TBXBKJTask extends AbstractTask {
if(task.getTask_code().equals(schBasePoint.getIng_task_code())){
return schBasePoint;
}
//点位允许取货且已被任务锁定则抛异常
if (schBasePoint.getVehicle_qty() > 0 &&
(ObjectUtil.isNotEmpty(schBasePoint.getIng_task_code()))) {
//点位已被任务锁定则抛异常,暂时不反馈
if ( (ObjectUtil.isNotEmpty(schBasePoint.getIng_task_code()))) {
throw new BadRequestException("当前点位"+ schBasePoint.getPoint_code()+"已被任务锁定!");
}
if (schBasePoint.getVehicle_qty() > 0 &&