薪酬报表浏览框根据业务线分权
This commit is contained in:
parent
9830b156a5
commit
cbdc483c4c
|
|
@ -586,7 +586,7 @@ public class TaxAgentServiceImpl extends Service implements TaxAgentService {
|
|||
public List<Map<String, Object>> selectList(boolean needAuth) {
|
||||
List<TaxAgentPO> taxAgents = getTaxAgentMapper().listAll();
|
||||
if (needAuth) {
|
||||
taxAgents = handleForDevolution(taxAgents, (long) user.getUID(), true);
|
||||
taxAgents = getAuthService(user).auth(taxAgents, AuthFilterTypeEnum.QUERY_DATA, TaxAgentPO.class);
|
||||
}
|
||||
return taxAgents.stream().map(m -> {
|
||||
Map<String, Object> map = new HashMap<>(2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue