rev:一期输送线
This commit is contained in:
@@ -1592,16 +1592,8 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
||||
log.info("shipDeviceUpdate请求参数:---------------------------------------------" + whereJson.toString() + ",ACS上报无货且此时LMS该点位没有任何任务!");
|
||||
JSONObject result = new JSONObject();
|
||||
result.put("status", HttpStatus.OK.value());
|
||||
result.put("message", "反馈成功,ACS上报无货且此时LMS该点位没有任何任务!");
|
||||
result.put("message", "反馈成功!");
|
||||
return result;
|
||||
}else {
|
||||
String vehicleCode2 = left_jo.getString("vehicle_code2");
|
||||
if (!deliver_jo.getString("vehicle_code").equals(vehicleCode2)) {
|
||||
JSONObject result = new JSONObject();
|
||||
result.put("status", HttpStatus.OK.value());
|
||||
result.put("message", "反馈成功,ACS上报无货但当前点位载具和任务载具号不一致!");
|
||||
return result;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//如果为分切输送线上料位,判断该点位是否存在未完成的任务类型为分切输送出的或载具横移任务
|
||||
@@ -1612,14 +1604,6 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
||||
result.put("status", HttpStatus.OK.value());
|
||||
result.put("message", "反馈成功!");
|
||||
return result;
|
||||
}else {
|
||||
String vehicleCode2 = right_jo.getString("vehicle_code2");
|
||||
if (!deliver_jo.getString("vehicle_code").equals(vehicleCode2)) {
|
||||
JSONObject result = new JSONObject();
|
||||
result.put("status", HttpStatus.OK.value());
|
||||
result.put("message", "反馈成功,ACS上报无货但当前点位载具和任务载具号不一致!");
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
deliver_jo.put("point_status", "01");
|
||||
|
||||
Reference in New Issue
Block a user