From e5605a074c87c6d816b0ceaf0f7f4b5291aaed43 Mon Sep 17 00:00:00 2001 From: chenshaoxin <1981897232@qq.com> Date: Tue, 5 Nov 2024 11:08:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/java/shkd/repc/recon/formplugin/ContractFormPlugin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {