commit
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ public class ActivityDeclareMineController {
|
||||
if (AuthUtil.hasRoleOr(RoleConstant.BRANCH_UNION_CHAIRMAN.name(), RoleConstant.BRANCH_UNION_WENTI_SPORTS.name())) {
|
||||
group.or("info.unionId", "=", SecurityUtil.getUnionId());
|
||||
}
|
||||
if (AuthUtil.hasRole(RoleConstant.CLUB_PRESIDENT.name(), RoleConstant.CLUB_OPERATOR.name())) {
|
||||
if (AuthUtil.hasRoleOr(RoleConstant.CLUB_PRESIDENT.name(), RoleConstant.CLUB_OPERATOR.name())) {
|
||||
group.or("info.userId", "=", SecurityUtil.getUserId());
|
||||
}
|
||||
cnd.and(group);
|
||||
|
||||
Reference in New Issue
Block a user