薪酬报表浏览框根据业务线分权

This commit is contained in:
Harryxzy 2025-07-07 14:01:05 +08:00
parent 9830b156a5
commit cbdc483c4c
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ public class TaxAgentServiceImpl extends Service implements TaxAgentService {
public List<Map<String, Object>> selectList(boolean needAuth) { public List<Map<String, Object>> selectList(boolean needAuth) {
List<TaxAgentPO> taxAgents = getTaxAgentMapper().listAll(); List<TaxAgentPO> taxAgents = getTaxAgentMapper().listAll();
if (needAuth) { if (needAuth) {
taxAgents = handleForDevolution(taxAgents, (long) user.getUID(), true); taxAgents = getAuthService(user).auth(taxAgents, AuthFilterTypeEnum.QUERY_DATA, TaxAgentPO.class);
} }
return taxAgents.stream().map(m -> { return taxAgents.stream().map(m -> {
Map<String, Object> map = new HashMap<>(2); Map<String, Object> map = new HashMap<>(2);