Merge remote-tracking branch 'remotes/origin/fix/240101-福利台账列表分权问题修复' into release/2.10.1.2401.01
This commit is contained in:
commit
eae730e305
|
|
@ -241,8 +241,10 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
if (CollectionUtils.isEmpty(taxAgents)) {
|
||||
//防止普通用户查询
|
||||
queryParam.setTaxAgents(Collections.singletonList(-1L));
|
||||
} else if (paymentOrganizationIds != null && paymentOrganizationIds.size() > 0){
|
||||
taxAgents.retainAll(paymentOrganizationIds);
|
||||
} else {
|
||||
if (paymentOrganizationIds != null && paymentOrganizationIds.size() > 0) {
|
||||
taxAgents.retainAll(paymentOrganizationIds);
|
||||
}
|
||||
queryParam.setTaxAgents(taxAgents);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue