This commit is contained in:
那些花儿
2025-12-22 17:32:39 +08:00
parent 41881ab5c6
commit 09f6d1504a
@@ -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);