放开管理员限制

This commit is contained in:
Harryxzy 2022-12-05 10:34:25 +08:00
parent 012d8dfb07
commit 1b570fe1aa
1 changed files with 1 additions and 0 deletions

View File

@ -686,6 +686,7 @@ public class TaxAgentServiceImpl extends Service implements TaxAgentService {
// 是管理员的列表
List<Long> adminTaxAgentIds = taxAgentAdminList.stream().map(TaxAgentAdminPO::getTaxAgentId).collect(Collectors.toList());
taxAgentManageRangeEmployeeList.addAll(getTaxAgentEmp(allTaxAgents, adminTaxAgentIds, allEmployees));
taxAgentManageRangeEmployeeList = taxAgentManageRangeEmployeeList.stream().distinct().collect(Collectors.toList());
return taxAgentManageRangeEmployeeList;
}