|
|
@@ -721,7 +721,7 @@ public class CorpsDescController extends BladeController {
|
|
|
}
|
|
|
}
|
|
|
String role = AuthUtil.getUserRole();
|
|
|
- if (!role.contains("admin")) {//admin能看全部,不是admin根据分管员查询
|
|
|
+ if (!role.contains("admin") && !role.contains("财务")) {//admin/财务 能看全部,不是admin、财务 根据分管员查询
|
|
|
if (Func.isNotEmpty(corpsDesc.getAdminProfiles())) {
|
|
|
lambdaQueryWrapper.and(i -> i.like(CorpsDesc::getAdminProfiles, corpsDesc.getAdminProfiles()).or().eq(CorpsDesc::getAdminProfiles, "")
|
|
|
.or().isNull(CorpsDesc::getAdminProfiles));
|