rev:提示修改
This commit is contained in:
@@ -433,7 +433,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ObjectUtil.isEmpty(struct_jo)) {
|
if (ObjectUtil.isEmpty(struct_jo)) {
|
||||||
throw new BadRequestException("未查询到可用的空载具!");
|
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!!");
|
||||||
}
|
}
|
||||||
|
|
||||||
JSONObject task_jo = new JSONObject();
|
JSONObject task_jo = new JSONObject();
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ public class OutServiceImpl implements OutService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ObjectUtil.isEmpty(empty_vehicle)) {
|
if (ObjectUtil.isEmpty(empty_vehicle)) {
|
||||||
throw new BadRequestException("未查询到可用的空载具!");
|
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!!");
|
||||||
}
|
}
|
||||||
|
|
||||||
JSONObject jo = new JSONObject();
|
JSONObject jo = new JSONObject();
|
||||||
@@ -226,7 +226,7 @@ public class OutServiceImpl implements OutService {
|
|||||||
.addParam("point_location", cut_ivt.getString("point_location"))
|
.addParam("point_location", cut_ivt.getString("point_location"))
|
||||||
.addParam("flag", "303").process().uniqueResult(0);
|
.addParam("flag", "303").process().uniqueResult(0);
|
||||||
if (ObjectUtil.isEmpty(empty_vehicle)) {
|
if (ObjectUtil.isEmpty(empty_vehicle)) {
|
||||||
throw new BadRequestException("未查询到可用的空载具!");
|
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ public class ShippingServiceImpl implements ShippingService {
|
|||||||
.addParam("point_location", cut_jo.getString("point_location"))
|
.addParam("point_location", cut_jo.getString("point_location"))
|
||||||
.addParam("flag", "302").process().uniqueResult(0);
|
.addParam("flag", "302").process().uniqueResult(0);
|
||||||
if (ObjectUtil.isEmpty(empty_vehicle)) {
|
if (ObjectUtil.isEmpty(empty_vehicle)) {
|
||||||
throw new BadRequestException("未查询到可用的空载具!");
|
throw new BadRequestException("未查询到可用的空载具或当前载具存在任务!!");
|
||||||
}
|
}
|
||||||
|
|
||||||
//如果查询到给ACS下发一个输送线任务
|
//如果查询到给ACS下发一个输送线任务
|
||||||
|
|||||||
Reference in New Issue
Block a user