|
|
|
@ -401,6 +401,7 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
|
log.info("查询的组织信息为:{}",JSONObject.toJSONString(orgByCompCode)); |
|
|
|
|
String company = orgByCompCode.getCompany(); |
|
|
|
|
String taxno = orgByCompCode.getTaxno(); |
|
|
|
|
String taxname = orgByCompCode.getTaxname(); |
|
|
|
|
|
|
|
|
|
String result = ""; |
|
|
|
|
|
|
|
|
@ -414,6 +415,7 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
|
TDxInvoiceReimburse reimburse = new TDxInvoiceReimburse(); |
|
|
|
|
reimburse.setImageId(imageId); |
|
|
|
|
reimburse.setCompCode(compCode); |
|
|
|
|
reimburse.setGfName(taxname); |
|
|
|
|
|
|
|
|
|
SNSAPObject object = new SNSAPObject(); |
|
|
|
|
object.setSYSID("FPXT"); |
|
|
|
@ -439,6 +441,12 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
|
for (SNInvoice invoice : invoiceInfoList) { |
|
|
|
|
String fplxdm = ""; |
|
|
|
|
String snFplx = ""; |
|
|
|
|
if (invoice.getPurchaserTaxNo() == null || "".equals(invoice.getPurchaserTaxNo())){ |
|
|
|
|
invoice.setPurchaserTaxNo(taxno); |
|
|
|
|
} |
|
|
|
|
if (invoice.getPurchaserName() == null || "".equals(invoice.getPurchaserName())){ |
|
|
|
|
invoice.setPurchaserName(taxname); |
|
|
|
|
} |
|
|
|
|
result = snPushCheckRecordService.updateInvoicePoll(company, taxno, reimburse, invoice, fplxdm, imageId, compCode); |
|
|
|
|
|
|
|
|
|
//价税分离判断
|
|
|
|
|