This commit is contained in:
陈绍鑫 2024-11-05 11:08:12 +08:00
parent c6d75b23c7
commit e5605a074c
1 changed files with 2 additions and 1 deletions

View File

@ -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<String, BigDecimal> amounttotalMap = new HashMap<>();
for (Sheet sheet : workbook) {
int rowNum = 0;
int a=0;
// 获取总行数
int rowCountsheet = sheet.getPhysicalNumberOfRows();//总行数
for (Row cells : sheet) {