港湾-下级工资单状态筛选

This commit is contained in:
Harryxzy 2024-01-19 14:25:56 +08:00
parent 4c77a30051
commit 82da1e3815
1 changed files with 3 additions and 0 deletions

View File

@ -1835,6 +1835,9 @@ public class SalarySendServiceImpl extends Service implements SalarySendService
return Collections.emptyList();
}
List<DataCollectionEmployee> employees = getSalaryEmployeeService(user).listEmployeeTreeByManagerId(managerId, statusList);
if (CollectionUtils.isEmpty(employees)) {
return Collections.emptyList();
}
return employees.get(0).getChildren();
}
}