|
|
|
@ -513,6 +513,11 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
// if (param.length() > 500) {
|
|
|
|
|
// param = param.substring(0, 400);
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
if (!"SAP".equalsIgnoreCase(pushInfo.getByzd1())){ |
|
|
|
|
log.debug("************非sap推送信息跳过************"); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
log.info("{}推送企业开始,推送企业url:{},用户:{},密码:{},推送参数:{}", LOGGER_MSG, pushInfo.getPushUrl(),baseServiceConfig.getPoUserName(),baseServiceConfig.getPoPassword(), fptsParam); |
|
|
|
|
long startTime = System.currentTimeMillis(); |
|
|
|
|
String result = ""; |
|
|
|
@ -617,6 +622,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
processPushSuccess(fpTsMqData, s, pushInfo.getVersionIdent()); |
|
|
|
|
successPush(null,JsonUtils.getInstance().toJsonString(fpTsMqData),s,pushInfo,fpTsMqData.getPushType()); |
|
|
|
|
|
|
|
|
|
sendPushDelay = false; |
|
|
|
|
} else { |
|
|
|
|
String error=String.format("推送数据返回的状态结果为失败,信息为:%s",dxhyInterfaceResponse.getReturnMessage()); |
|
|
|
|
log.error(error); |
|
|
|
@ -753,6 +759,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
String error=String.format("影像系统推送数据异常,%s ,推送类型为%s",e.getMessage(),pushType); |
|
|
|
|
log.error(error); |
|
|
|
|
log.error("打印堆栈信息{}",e); |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
failPush(id,content,error,e.getMessage(),pushInfo1,pushType); |
|
|
|
|
return; |
|
|
|
|