diff --git a/src/com/engine/salary/entity/datacollection/dto/DerateDeductionListDTO.java b/src/com/engine/salary/entity/datacollection/dto/DerateDeductionListDTO.java
index c761c4971..4b36ec418 100644
--- a/src/com/engine/salary/entity/datacollection/dto/DerateDeductionListDTO.java
+++ b/src/com/engine/salary/entity/datacollection/dto/DerateDeductionListDTO.java
@@ -13,7 +13,7 @@ import lombok.NoArgsConstructor;
import java.util.Date;
/**
- * 免税收入
+ * 减免税额
*
Copyright: Copyright (c) 2022
* Company: 泛微软件
*
@@ -85,12 +85,12 @@ public class DerateDeductionListDTO {
@TableTitle(title = "减免事项", dataIndex = "derateItem", key = "derateItem")
private String derateItem;
- @ExcelProperty(index = 8)
+ @ExcelProperty(index = 7)
@TableTitle(title = "减免性质", dataIndex = "derateProperty", key = "derateProperty")
@ElogTransform(name = "减免性质")
private String derateProperty;
- @ExcelProperty(index = 9)
+ @ExcelProperty(index = 8)
@TableTitle(title = "减免金额", dataIndex = "derateAmount", key = "derateAmount")
@ElogTransform(name = "减免金额")
private String derateAmount;
diff --git a/src/com/engine/salary/entity/datacollection/po/OtherDeductionPO.java b/src/com/engine/salary/entity/datacollection/po/OtherDeductionPO.java
index 2d13dcced..c602d6ede 100644
--- a/src/com/engine/salary/entity/datacollection/po/OtherDeductionPO.java
+++ b/src/com/engine/salary/entity/datacollection/po/OtherDeductionPO.java
@@ -135,9 +135,12 @@ public class OtherDeductionPO {
private List employeeIds;
private Collection taxAgentIds;
- /**
- * 减免税额
- */
+
private List freeIncomeList;
+ private List derateDeductionList;
+ private List endowmentInsuranceList;
+ private List grantDonationList;
+ private List healthInsuranceList;
+ private List otherDerateDeductionList;
}
\ No newline at end of file
diff --git a/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java b/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java
index ac1a306be..05736d8c1 100644
--- a/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java
+++ b/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java
@@ -12,10 +12,12 @@ 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.param.*;
+import com.engine.salary.entity.datacollection.po.DerateDeductionPO;
import com.engine.salary.entity.datacollection.po.FreeIncomePO;
import com.engine.salary.entity.datacollection.po.OtherDeductionPO;
import com.engine.salary.entity.salaryacct.po.SalaryAcctEmployeePO;
@@ -427,29 +429,30 @@ public class OtherDeductionServiceImpl extends Service implements OtherDeduction
//税款所属期
String declareMonthStr = Util.null2String(importParam.getDeclareMonth());
+ //人员信息
+ List employees = getSalaryEmployeeService(user).listEmployee();
+ // 获取所有个税扣缴义务人
+ Collection taxAgentList = getTaxAgentService(user).listTaxAgentAndEmployeeTree(currentEmployeeId);
+ //税款所属期
+ Date declareMonth = SalaryDateUtil.stringToDate(declareMonthStr + "-01");
+ // 获取已经核算的数据
+ List salaryAcctEmployees = getAddUpDeductionService(user).getAccountedEmployeeData(declareMonthStr);
+ // 查询已有数据
+ List list = getOtherDeductionMapper().listSome(OtherDeductionPO.builder().declareMonth(declareMonth).build());
+
InputStream fileInputStream = null;
+ List eligibleData = new ArrayList<>();
+
try {
fileInputStream = ImageFileManager.getInputStreamById(Integer.parseInt(imageId));
int successCount = 0;
int errorCount = 0;
- //人员信息
- List employees = getSalaryEmployeeService(user).listEmployee();
- // 获取所有个税扣缴义务人
- Collection taxAgentList = getTaxAgentService(user).listTaxAgentAndEmployeeTree(currentEmployeeId);
- //税款所属期
- Date declareMonth = SalaryDateUtil.stringToDate(declareMonthStr + "-01");
- // 获取已经核算的数据
- List salaryAcctEmployees = getAddUpDeductionService(user).getAccountedEmployeeData(declareMonthStr);
- // 查询已有数据
- List list = getOtherDeductionMapper().listSome(OtherDeductionPO.builder().declareMonth(declareMonth).build());
-
// 错误excel内容
List