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) {