|
|
|
@ -515,6 +515,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
if (!"SAP".equalsIgnoreCase(pushInfo.getByzd1())){ |
|
|
|
|
log.debug("备用字段1{}",pushInfo.getByzd1()); |
|
|
|
|
log.debug("************非sap推送信息跳过************"); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
@ -555,7 +556,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
PoCommonResponseParam poCommonResponseParam = JsonUtils.getInstance().parseObject(result, PoCommonResponseParam.class); |
|
|
|
|
EsOutput es_output = poCommonResponseParam.getES_OUTPUT(); |
|
|
|
|
if (es_output == null) { |
|
|
|
|
throw new InterfaceException("推送SAP返回报错","500"); |
|
|
|
|
throw new InterfaceException("500","推送SAP返回报错"); |
|
|
|
|
} |
|
|
|
|
String sapkey = es_output.getSAPKEY(); |
|
|
|
|
String ztype = es_output.getZTYPE(); |
|
|
|
|