银盛返聘action调整
This commit is contained in:
parent
bbec04096d
commit
068d4d5633
|
|
@ -1328,10 +1328,10 @@ public class SalaryArchiveServiceImpl extends Service implements SalaryArchiveSe
|
|||
if (list.size() != ids.size()) {
|
||||
throw new SalaryRunTimeException("薪资档案不存在,删除失败!");
|
||||
}
|
||||
Set<String> employeeStatus = list.stream().map(SalaryArchiveListDTO::getEmployeeStatus).collect(Collectors.toSet());
|
||||
if (employeeStatus.contains("5")) {
|
||||
throw new SalaryRunTimeException("离职人员无法删除待办");
|
||||
}
|
||||
// Set<String> employeeStatus = list.stream().map(SalaryArchiveListDTO::getEmployeeStatus).collect(Collectors.toSet());
|
||||
// if (employeeStatus.contains("5")) {
|
||||
// throw new SalaryRunTimeException("离职人员无法删除待办");
|
||||
// }
|
||||
Map<Long, TaxAgentManageRangeEmployeeDTO> taxAgentMap = SalaryEntityUtil.convert2Map(taxAgentList, TaxAgentManageRangeEmployeeDTO::getTaxAgentId);
|
||||
// 判断删除待停薪代办的人是否在个税扣缴义务人的人员范围中
|
||||
for (SalaryArchiveListDTO dto : list) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue