rev:提示修改

This commit is contained in:
2024-03-13 17:50:50 +08:00
parent 83d45da5c3
commit 2968905d15
3 changed files with 4 additions and 4 deletions

View File

@@ -433,7 +433,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
}
if (ObjectUtil.isEmpty(struct_jo)) {
throw new BadRequestException("未查询到可用的空载具!");
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!");
}
JSONObject task_jo = new JSONObject();

View File

@@ -142,7 +142,7 @@ public class OutServiceImpl implements OutService {
}
if (ObjectUtil.isEmpty(empty_vehicle)) {
throw new BadRequestException("未查询到可用的空载具!");
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!");
}
JSONObject jo = new JSONObject();
@@ -226,7 +226,7 @@ public class OutServiceImpl implements OutService {
.addParam("point_location", cut_ivt.getString("point_location"))
.addParam("flag", "303").process().uniqueResult(0);
if (ObjectUtil.isEmpty(empty_vehicle)) {
throw new BadRequestException("未查询到可用的空载具!");
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!");
}
}

View File

@@ -66,7 +66,7 @@ public class ShippingServiceImpl implements ShippingService {
.addParam("point_location", cut_jo.getString("point_location"))
.addParam("flag", "302").process().uniqueResult(0);
if (ObjectUtil.isEmpty(empty_vehicle)) {
throw new BadRequestException("未查询到可用的空载具!");
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!");
}
//如果查询到给ACS下发一个输送线任务