diff --git a/main/java/shkd/repc/recon/formplugin/ContractFormPlugin.java b/main/java/shkd/repc/recon/formplugin/ContractFormPlugin.java index 70362f4..20e34ef 100644 --- a/main/java/shkd/repc/recon/formplugin/ContractFormPlugin.java +++ b/main/java/shkd/repc/recon/formplugin/ContractFormPlugin.java @@ -106,7 +106,7 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadList //删除单据体数据 qeug_invoiceentryinfos.clear(); - SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity()}); + SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity(true)}); // 删除完成之后刷新界面 getView().invokeOperation("refresh"); return result; @@ -193,6 +193,7 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadList Map amounttotalMap = new HashMap<>(); for (Sheet sheet : workbook) { int rowNum = 0; + int a=0; // 获取总行数 int rowCountsheet = sheet.getPhysicalNumberOfRows();//总行数 for (Row cells : sheet) {