|
@@ -145,16 +145,17 @@ public class Ceb311CustiomsResponse implements CebCustomsResponse{
|
|
private OrderCustiomsResponse analysisCustiomsResponse(Map<String, Object> map) {
|
|
private OrderCustiomsResponse analysisCustiomsResponse(Map<String, Object> map) {
|
|
Gson gson = new Gson();
|
|
Gson gson = new Gson();
|
|
Result response = (Result) map.get("resultData");
|
|
Result response = (Result) map.get("resultData");
|
|
- LOGGER.info("海关回执date:"+response);
|
|
|
|
|
|
+
|
|
if(response == null){
|
|
if(response == null){
|
|
LOGGER.info("解析响应数据失败");
|
|
LOGGER.info("解析响应数据失败");
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|
|
- LOGGER.info("海关回执 data:"+response);
|
|
|
|
-
|
|
|
|
//解析回执数据
|
|
//解析回执数据
|
|
String data = JacksonUtil.toJson(response.getData());
|
|
String data = JacksonUtil.toJson(response.getData());
|
|
|
|
+
|
|
|
|
+ LOGGER.info("海关回执 data:"+data);
|
|
|
|
+
|
|
List<OrderCustiomsResponse> orderCustiomsResponseList = gson.fromJson(data, List.class);
|
|
List<OrderCustiomsResponse> orderCustiomsResponseList = gson.fromJson(data, List.class);
|
|
|
|
|
|
if(orderCustiomsResponseList == null && orderCustiomsResponseList.size() <= 0){
|
|
if(orderCustiomsResponseList == null && orderCustiomsResponseList.size() <= 0){
|