From 068d4d56333dd7e2bdf8f481f40a68fe0dde3442 Mon Sep 17 00:00:00 2001 From: Harryxzy Date: Tue, 22 Jul 2025 09:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E7=9B=9B=E8=BF=94=E8=81=98action?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../salary/service/impl/SalaryArchiveServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java b/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java index 538160d20..8ff6513d7 100644 --- a/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java +++ b/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java @@ -1328,10 +1328,10 @@ public class SalaryArchiveServiceImpl extends Service implements SalaryArchiveSe if (list.size() != ids.size()) { throw new SalaryRunTimeException("薪资档案不存在,删除失败!"); } - Set employeeStatus = list.stream().map(SalaryArchiveListDTO::getEmployeeStatus).collect(Collectors.toSet()); - if (employeeStatus.contains("5")) { - throw new SalaryRunTimeException("离职人员无法删除待办"); - } + // Set employeeStatus = list.stream().map(SalaryArchiveListDTO::getEmployeeStatus).collect(Collectors.toSet()); + // if (employeeStatus.contains("5")) { + // throw new SalaryRunTimeException("离职人员无法删除待办"); + // } Map taxAgentMap = SalaryEntityUtil.convert2Map(taxAgentList, TaxAgentManageRangeEmployeeDTO::getTaxAgentId); // 判断删除待停薪代办的人是否在个税扣缴义务人的人员范围中 for (SalaryArchiveListDTO dto : list) {