|
|
@ -763,6 +763,9 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
|
|
|
|
|
|
|
|
if (checkInvoiceResult != null && !checkInvoiceResult.containsKey("code") && !checkInvoiceResult.containsKey("cyjg")) { |
|
|
|
if (checkInvoiceResult != null && !checkInvoiceResult.containsKey("code") && !checkInvoiceResult.containsKey("cyjg")) { |
|
|
|
checkInvoiceResult.put("invoiceNo", checkInvoiceResult.getString("invoiceNumber")); |
|
|
|
checkInvoiceResult.put("invoiceNo", checkInvoiceResult.getString("invoiceNumber")); |
|
|
|
|
|
|
|
if ("3".equals(invoice.getCheckStatus())){ |
|
|
|
|
|
|
|
checkInvoiceResult.put("checkStatus","3"); |
|
|
|
|
|
|
|
} |
|
|
|
log.info("补充查验的结果为:{}", checkInvoiceResult); |
|
|
|
log.info("补充查验的结果为:{}", checkInvoiceResult); |
|
|
|
signSaveInvoiceInfoService.saveQueryInvoiceResult(checkInvoiceResult, "", "1", "business"); |
|
|
|
signSaveInvoiceInfoService.saveQueryInvoiceResult(checkInvoiceResult, "", "1", "business"); |
|
|
|
} else if (invoice != null && "3".equals(invoice.getCheckStatus())) { |
|
|
|
} else if (invoice != null && "3".equals(invoice.getCheckStatus())) { |
|
|
@ -804,6 +807,7 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
|
|
|
|
|
|
|
|
if (invoice != null){ |
|
|
|
if (invoice != null){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
invoiceInfo.setInvoiceType("16"); |
|
|
|
invoiceInfo.setInvoiceCode(invoice.getInvoiceCode()); |
|
|
|
invoiceInfo.setInvoiceCode(invoice.getInvoiceCode()); |
|
|
|
invoiceInfo.setInvoiceNo(invoice.getInvoiceNumber()); |
|
|
|
invoiceInfo.setInvoiceNo(invoice.getInvoiceNumber()); |
|
|
|
invoiceInfo.setGfTaxNo(invoice.getPurchaserTaxNo()); |
|
|
|
invoiceInfo.setGfTaxNo(invoice.getPurchaserTaxNo()); |
|
|
@ -864,14 +868,6 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
invoiceInfo.setInvoiceDate(invoiceDate); |
|
|
|
invoiceInfo.setInvoiceDate(invoiceDate); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(invoice.getInvoiceType())){ |
|
|
|
|
|
|
|
String fplxDm = SNFplxEnum.getFplxDm(invoice.getInvoiceType()); |
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(fplxDm)){ |
|
|
|
|
|
|
|
invoiceInfo.setInvoiceType(fplxDm); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (invoice.getInvoiceLineList() != null && invoice.getInvoiceLineList().size() > 0){ |
|
|
|
if (invoice.getInvoiceLineList() != null && invoice.getInvoiceLineList().size() > 0){ |
|
|
|
invoiceInfo.setDetailYesorno("1"); |
|
|
|
invoiceInfo.setDetailYesorno("1"); |
|
|
|
} |
|
|
|
} |
|
|
|