|
|
|
@ -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, "连接第三方系统接口服务出错!");
|
|
|
|
|