|
|
|
@ -580,10 +580,11 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void sendImageSys(String content){ |
|
|
|
|
|
|
|
|
|
OutputInvoiceRequest outputInvoiceRequest = buildInvoiceRequest(content); |
|
|
|
|
DdfpzxxV5 ddfpzxxV5 = JsonUtils.getInstance().parseObject(content.substring(1,content.length()-1), DdfpzxxV5.class); |
|
|
|
|
DdfpxxV5 ddfpxx = ddfpzxxV5.getDDFPXX(); |
|
|
|
|
OutputInvoiceRequest outputInvoiceRequest = buildInvoiceRequest(ddfpxx); |
|
|
|
|
if(outputInvoiceRequest.getInvoiceList() != null && outputInvoiceRequest.getInvoiceList().size() > 0){ |
|
|
|
|
String fplxdm = outputInvoiceRequest.getInvoiceList().get(0).getInvoiceType(); |
|
|
|
|
String fplxdm = ddfpxx.getFPLXDM(); |
|
|
|
|
boolean b = OrderInfoEnum.ORDER_INVOICE_TYPE_001.getKey().equals(fplxdm) |
|
|
|
|
|| OrderInfoEnum.ORDER_INVOICE_TYPE_002.getKey().equals(fplxdm) |
|
|
|
|
|| OrderInfoEnum.ORDER_INVOICE_TYPE_026.getKey().equals(fplxdm) |
|
|
|
@ -611,9 +612,8 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private OutputInvoiceRequest buildInvoiceRequest(String content){ |
|
|
|
|
DdfpzxxV5 ddfpzxxV5 = JsonUtils.getInstance().parseObject(content.substring(1,content.length()-1), DdfpzxxV5.class); |
|
|
|
|
DdfpxxV5 ddfpxx = ddfpzxxV5.getDDFPXX(); |
|
|
|
|
|
|
|
|
|
private OutputInvoiceRequest buildInvoiceRequest(DdfpxxV5 ddfpxx){ |
|
|
|
|
|
|
|
|
|
String fplxdm = ddfpxx.getFPLXDM(); |
|
|
|
|
|
|
|
|
|