返回码和信息反过来

release
路明慧 2 years ago
parent 7a55f03019
commit d20669bdb6
  1. 3
      order-management-consumer/src/main/java/com/dxhy/order/consumer/modules/manager/service/impl/PushInvoiceServiceImpl.java

@ -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();

Loading…
Cancel
Save