From 07a07d2be805e60fe060bbd3a348be47307ec85c Mon Sep 17 00:00:00 2001 From: fcli Date: Mon, 7 Nov 2022 16:20:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=93=E9=A1=B9=E9=99=84=E5=8A=A0?= =?UTF-8?q?=E6=89=A3=E9=99=A4=E6=A8=A1=E5=9D=97,=20=E6=9D=83=E9=99=90?= =?UTF-8?q?=E9=99=90=E5=88=B6=EF=BC=8C=E5=AF=BC=E5=85=A5=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E6=B7=BB=E5=8A=A0=E4=B8=80=E9=94=AE?= =?UTF-8?q?=E7=B4=AF=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../salary/biz/SpecialAddDeductionBiz.java | 1 + .../dto/SpecialAddDeductionListDTO.java | 12 +- .../SpecialAddDeductionMapper.xml | 2 +- .../salary/service/AddUpDeductionService.java | 3 +- .../service/SpecialAddDeductionService.java | 10 +- .../impl/AddUpDeductionServiceImpl.java | 149 ++++++++++++++---- .../impl/SpecialAddDeductionServiceImpl.java | 144 +++++++---------- .../web/SpecialAddDeductionController.java | 2 + .../salary/wrapper/AddUpDeductionWrapper.java | 14 +- .../wrapper/SpecialAddDeductionWrapper.java | 8 +- 10 files changed, 207 insertions(+), 138 deletions(-) diff --git a/src/com/engine/salary/biz/SpecialAddDeductionBiz.java b/src/com/engine/salary/biz/SpecialAddDeductionBiz.java index b841a12d0..e7b05813e 100644 --- a/src/com/engine/salary/biz/SpecialAddDeductionBiz.java +++ b/src/com/engine/salary/biz/SpecialAddDeductionBiz.java @@ -166,6 +166,7 @@ public class SpecialAddDeductionBiz extends BaseBean { .stream() .filter(Objects::nonNull) .filter(s -> s.getEmployeeId() != null) + .map(SpecialAddDeductionEncrypt::decrypt) .collect(Collectors.toList()); } } diff --git a/src/com/engine/salary/entity/datacollection/dto/SpecialAddDeductionListDTO.java b/src/com/engine/salary/entity/datacollection/dto/SpecialAddDeductionListDTO.java index 5785d22a5..8b86b6281 100644 --- a/src/com/engine/salary/entity/datacollection/dto/SpecialAddDeductionListDTO.java +++ b/src/com/engine/salary/entity/datacollection/dto/SpecialAddDeductionListDTO.java @@ -84,19 +84,19 @@ public class SpecialAddDeductionListDTO { private String hiredate; //子女教育 - @ExcelProperty(index = 10) + @ExcelProperty(index = 7) @SalaryTableColumn(text = "子女教育", width = "10%", column = "childrenEducation") @TableTitle(title = "子女教育", dataIndex = "childrenEducation", key = "childrenEducation") private String childrenEducation; //继续教育 - @ExcelProperty(index = 10) + @ExcelProperty(index = 8) @SalaryTableColumn(text = "继续教育", width = "10%", column = "continuingEducation") @TableTitle(title = "继续教育", dataIndex = "continuingEducation", key = "continuingEducation") private String continuingEducation; //住房贷款利息 - @ExcelProperty(index = 10) + @ExcelProperty(index = 9) @SalaryTableColumn(text = "住房贷款利息", width = "10%", column = "housingLoanInterest") @TableTitle(title = "住房贷款利息", dataIndex = "housingLoanInterest", key = "housingLoanInterest") private String housingLoanInterest; @@ -108,19 +108,19 @@ public class SpecialAddDeductionListDTO { private String housingRent; //赡养老人 - @ExcelProperty(index = 10) + @ExcelProperty(index = 11) @SalaryTableColumn(text = "赡养老人", width = "10%", column = "supportingElder") @TableTitle(title = "赡养老人", dataIndex = "supportingElder", key = "supportingElder") private String supportingElder; //大病医疗 - @ExcelProperty(index = 10) + @ExcelProperty(index = 12) @SalaryTableColumn(text = "大病医疗", width = "10%", column = "seriousIllnessTreatment") @TableTitle(title = "大病医疗", dataIndex = "seriousIllnessTreatment", key = "seriousIllnessTreatment") private String seriousIllnessTreatment; //婴幼儿照护 - @ExcelProperty(index = 10) + @ExcelProperty(index = 13) @SalaryTableColumn(text = "婴幼儿照护", width = "10%", column = "infantCare") @TableTitle(title = "婴幼儿照护", dataIndex = "infantCare", key = "infantCare") private String infantCare; diff --git a/src/com/engine/salary/mapper/datacollection/SpecialAddDeductionMapper.xml b/src/com/engine/salary/mapper/datacollection/SpecialAddDeductionMapper.xml index e3472dfc5..37c5a765a 100644 --- a/src/com/engine/salary/mapper/datacollection/SpecialAddDeductionMapper.xml +++ b/src/com/engine/salary/mapper/datacollection/SpecialAddDeductionMapper.xml @@ -564,7 +564,7 @@