|
@ -29,11 +29,10 @@ public class WmsToSortingService { |
|
|
SchBaseTask task = iSchBaseTaskService.getByCode(task_code); |
|
|
SchBaseTask task = iSchBaseTaskService.getByCode(task_code); |
|
|
String request_param = task.getRequest_param(); |
|
|
String request_param = task.getRequest_param(); |
|
|
JSONObject toJSON = (JSONObject)JSONObject.toJSON(request_param); |
|
|
JSONObject toJSON = (JSONObject)JSONObject.toJSON(request_param); |
|
|
String ext_data = toJSON.getString("ext_data"); |
|
|
if (toJSON == null){ |
|
|
if (StringUtils.isEmpty(ext_data)){ |
|
|
|
|
|
throw new BadRequestException("WmsToSortingService反馈异常,sorting对接数据ext_data为空"); |
|
|
throw new BadRequestException("WmsToSortingService反馈异常,sorting对接数据ext_data为空"); |
|
|
} |
|
|
} |
|
|
AcsResponse acsResponse = ConnectorUtil.notifyEextSystem("api/external/wms/agv", ext_data, GeneralDefinition.SORTING_URL); |
|
|
AcsResponse acsResponse = ConnectorUtil.notifyEextSystem("api/external/wms/agv", toJSON, GeneralDefinition.SORTING_URL); |
|
|
return acsResponse; |
|
|
return acsResponse; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|