支出合同结算单发票导入插件逻辑优化

This commit is contained in:
xuhaihui 2025-11-06 17:01:25 +08:00
parent 27309cc3d0
commit d57550085c
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public class ContractFinaceConfirmeInvoicePlugin extends AbstractBillPlugIn impl
DynamicObject org = (DynamicObject) this.getModel().getValue("org"); DynamicObject org = (DynamicObject) this.getModel().getValue("org");
//List<InvoiceVO> invoiceVOList = InvoiceDataHandleHelper.parseXhInvoiceCloudReturnData(returnData); //List<InvoiceVO> invoiceVOList = InvoiceDataHandleHelper.parseXhInvoiceCloudReturnData(returnData);
List<InvoiceVO> invoiceVOList = CustomInvoiceDataHandleHelper.parseXhInvoiceCloudReturnData(returnData); List<InvoiceVO> invoiceVOList = CustomInvoiceDataHandleHelper.parseXhInvoiceCloudReturnData(returnData);
Map<Boolean, Set<DynamicObject>> invoiceMap = InvoiceDataHandleHelper.processInvoiceVO(invoiceVOList, RequestContext.get().getCurrUserId(), Map<Boolean, Set<DynamicObject>> invoiceMap = CustomInvoiceDataHandleHelper.processInvoiceVO(invoiceVOList, RequestContext.get().getCurrUserId(),
org.getLong("id"), new Date(), "ec_in_invoice", (DynamicObject) this.getModel().getValue("currency"), true); org.getLong("id"), new Date(), "ec_in_invoice", (DynamicObject) this.getModel().getValue("currency"), true);
ImportInvoiceUtils invoiceUtils = new ImportInvoiceUtils(this.getView(), this.getPageCache()); ImportInvoiceUtils invoiceUtils = new ImportInvoiceUtils(this.getView(), this.getPageCache());
this.addInvoiceToEntry(invoiceUtils, invoiceMap); this.addInvoiceToEntry(invoiceUtils, invoiceMap);