Merge branch 'ww'

master
wangwei 2 years ago
commit f54e7d2fea

@ -158,7 +158,12 @@ public class ErpBasicClient {
BaseResponse<PageSimpleResponse<ThrSystemBusApiEntity>> udiDlDeviceResponse =
JSONObject.parseObject(response, new TypeReference<BaseResponse<PageSimpleResponse<ThrSystemBusApiEntity>>>() {
});
return udiDlDeviceResponse;
if(udiDlDeviceResponse!=null){
return udiDlDeviceResponse;
}else{
return ResultVOUtils.error(500, "查询第三方数据失败!");
}
} catch (Exception e) {
log.error("获取单据类型异常", e);
return ResultVOUtils.error(500, "连接第三方系统接口服务出错!");

Loading…
Cancel
Save