From e6f8b31f694ac9193f0a9df2ec8c0bf761d6a5f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=92=B1=E6=B6=9B?= <15850646081@163.com>
Date: Thu, 19 Dec 2024 10:57:21 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BB=B6=E7=A8=8E=E5=85=BB=E8=80=81=E4=BF=9D?=
=?UTF-8?q?=E9=99=A9=E9=99=84=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dto/EndowmentInsuranceListDTO.java | 2 +-
.../impl/OtherDeductionServiceImpl.java | 154 +++++++++++++++++-
2 files changed, 151 insertions(+), 5 deletions(-)
diff --git a/src/com/engine/salary/entity/datacollection/dto/EndowmentInsuranceListDTO.java b/src/com/engine/salary/entity/datacollection/dto/EndowmentInsuranceListDTO.java
index cfd7e773d..699054258 100644
--- a/src/com/engine/salary/entity/datacollection/dto/EndowmentInsuranceListDTO.java
+++ b/src/com/engine/salary/entity/datacollection/dto/EndowmentInsuranceListDTO.java
@@ -12,7 +12,7 @@ import lombok.NoArgsConstructor;
import java.util.Date;
/**
- * 免税收入
+ * 税延养老保险
*
Copyright: Copyright (c) 2022
* Company: 泛微软件
*
diff --git a/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java b/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java
index 05736d8c1..e95365a82 100644
--- a/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java
+++ b/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java
@@ -12,12 +12,10 @@ import com.engine.salary.constant.SalaryDefaultTenantConstant;
import com.engine.salary.encrypt.EncryptUtil;
import com.engine.salary.entity.datacollection.AddUpDeduction;
import com.engine.salary.entity.datacollection.DataCollectionEmployee;
-import com.engine.salary.entity.datacollection.dto.DerateDeductionListDTO;
-import com.engine.salary.entity.datacollection.dto.FreeIncomeListDTO;
-import com.engine.salary.entity.datacollection.dto.OtherDeductionListDTO;
-import com.engine.salary.entity.datacollection.dto.OtherDeductionRecordDTO;
+import com.engine.salary.entity.datacollection.dto.*;
import com.engine.salary.entity.datacollection.param.*;
import com.engine.salary.entity.datacollection.po.DerateDeductionPO;
+import com.engine.salary.entity.datacollection.po.EndowmentInsurancePO;
import com.engine.salary.entity.datacollection.po.FreeIncomePO;
import com.engine.salary.entity.datacollection.po.OtherDeductionPO;
import com.engine.salary.entity.salaryacct.po.SalaryAcctEmployeePO;
@@ -752,7 +750,155 @@ public class OtherDeductionServiceImpl extends Service implements OtherDeduction
}
+ try {
+ fileInputStream = ImageFileManager.getInputStreamById(Integer.parseInt(imageId));
+ int successCount = 0;
+ int errorCount = 0;
+
+ // 错误excel内容
+ List