From 43c7cf553e5c78d81b8f23a043901926c45eb0cf Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期一, 30 十二月 2024 18:46:00 +0800 Subject: [PATCH] 最新版本541200007 --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/TmsServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/TmsServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/TmsServiceImpl.java index a02e691..5854665 100644 --- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/TmsServiceImpl.java +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/TmsServiceImpl.java @@ -264,7 +264,7 @@ url = "http://10.163.4.56:8088"+TMSContants.InterfacePath.driverStart[0]; TmsBaseResponse<TmsDriveTaskInfoResponse > response = sendHttpRequest(url,TMSContants.InterfacePath.driverStart[1],JSONObject.toJSONString(param) ,new TypeReference< TmsBaseResponse<TmsDriveTaskInfoResponse>>(){}); - if(response ==null || response.getData() == null || !StringUtils.equals(response.getCode(),"0")){ + if(response ==null || !StringUtils.equals(response.getCode(),"0")){ throw new BusinessException(ResponseStatus.SERVER_ERROR.getCode(),"瀵逛笉璧凤紝浠诲姟鍒拌揣鎻愪氦澶辫触锛岃绋嶅悗閲嶈瘯锛�"); } return true; @@ -286,7 +286,7 @@ url = "http://10.163.4.56:8088"+TMSContants.InterfacePath.driverArrival[0]; TmsBaseResponse<TmsDriveTaskInfoResponse > response = sendHttpRequest(url,TMSContants.InterfacePath.driverArrival[1],JSONObject.toJSONString(param) ,new TypeReference< TmsBaseResponse<TmsDriveTaskInfoResponse>>(){}); - if(response ==null || response.getData() == null ||!StringUtils.equals(response.getCode(),"0")){ + if(response ==null ||!StringUtils.equals(response.getCode(),"0")){ throw new BusinessException(ResponseStatus.SERVER_ERROR.getCode(),"瀵逛笉璧凤紝浠诲姟鍒拌揣鎻愪氦澶辫触锛岃绋嶅悗閲嶈瘯锛�"); } return true; -- Gitblit v1.9.3