更新
This commit is contained in:
@@ -64,7 +64,7 @@ public class AgvWaitUtil {
|
||||
}
|
||||
} else {
|
||||
map.put("status", 400);
|
||||
map.put("message", "请求失败,起点位置无货!move = " + standardConveyorLineDeviceDriver.getMove() + "action = " + standardConveyorLineDeviceDriver.getAction());
|
||||
map.put("message", "请求失败,起点位置无货或其他信号不满足取货条件!move = " + standardConveyorLineDeviceDriver.getMove() + "action = " + standardConveyorLineDeviceDriver.getAction());
|
||||
type = "erro";
|
||||
logServer.log(task_code, "waitpointRequest", type, param.toString(), String.valueOf(map), "400", "api/agv/waitpointRequest", instructionDto.getVehicle_code());
|
||||
throw new BadRequestException("请求失败,起点位置无货!");
|
||||
@@ -98,7 +98,7 @@ public class AgvWaitUtil {
|
||||
}
|
||||
} else {
|
||||
map.put("status", 400);
|
||||
map.put("message", "请求失败,起点位置无货!move = " + bySignal + ",action = " + byAction + ",error = " + byError);
|
||||
map.put("message", "请求失败,起点位置无货或其他信号不满足取货条件!move = " + bySignal + ",action = " + byAction + ",error = " + byError);
|
||||
type = "erro";
|
||||
logServer.log(task_code, "waitpointRequest", type, param.toString(), String.valueOf(map), "400", "api/agv/waitpointRequest", instructionDto.getVehicle_code());
|
||||
throw new BadRequestException("请求失败,起点位置无货!");
|
||||
@@ -170,7 +170,7 @@ public class AgvWaitUtil {
|
||||
map.put("message", "请求失败,取货完成后,起点位置仍有货!move=" + standardCoveyorControlDeviceDriver.getBySignal());
|
||||
type = "erro";
|
||||
logServer.log(task_code, "waitpointRequest", type, param.toString(), String.valueOf(map), "400", "api/agv/waitpointRequest", instructionDto.getVehicle_code());
|
||||
throw new BadRequestException("请求失败,起点位置有货!");
|
||||
throw new BadRequestException("请求失败,取货完成后起点位置有货!");
|
||||
}
|
||||
}
|
||||
return map;
|
||||
@@ -210,7 +210,7 @@ public class AgvWaitUtil {
|
||||
}
|
||||
} else {
|
||||
map.put("status", 400);
|
||||
map.put("message", "请求失败,终点位置有货!move = " + standardConveyorLineDeviceDriver.getMove() + "action = " + standardConveyorLineDeviceDriver.getAction());
|
||||
map.put("message", "请求失败,终点位置有货或其他信号不满足放货条件!move = " + standardConveyorLineDeviceDriver.getMove() + "action = " + standardConveyorLineDeviceDriver.getAction());
|
||||
type = "erro";
|
||||
logServer.log(task_code, "waitpointRequest", type, param.toString(), String.valueOf(map), "400", "api/agv/waitpointRequest", instructionDto.getVehicle_code());
|
||||
throw new BadRequestException("请求失败,终点位置有货或不允许放货!");
|
||||
@@ -244,7 +244,7 @@ public class AgvWaitUtil {
|
||||
}
|
||||
} else {
|
||||
map.put("status", 400);
|
||||
map.put("message", "请求失败,终点位置有货!move = " + bySignal + ",action = " + byAction + ",error = " + byError);
|
||||
map.put("message", "请求失败,终点位置有货或其他信号不满足放货条件!move = " + bySignal + ",action = " + byAction + ",error = " + byError);
|
||||
type = "erro";
|
||||
logServer.log(task_code, "waitpointRequest", type, param.toString(), String.valueOf(map), "400", "api/agv/waitpointRequest", instructionDto.getVehicle_code());
|
||||
throw new BadRequestException("请求失败,终点位置有货!");
|
||||
|
||||
Reference in New Issue
Block a user