This commit is contained in:
2026-09-09 10:26:53 +08:00
parent 7322252d41
commit 9f7c0f214e
@@ -145,11 +145,13 @@ public class CondolenceApplyController {
} }
if(!AuthUtil.hasRoleOr(RoleConstant.SYSADMIN.name(), RoleConstant.SCHOOL_UNION_ADMIN.name())) { if(!AuthUtil.hasRoleOr(RoleConstant.SYSADMIN.name(), RoleConstant.SCHOOL_UNION_ADMIN.name())) {
if(AuthUtil.hasRoleOr( if(AuthUtil.hasRoleOr(
RoleConstant.BRANCH_UNION_ADMIN.name(), RoleConstant.BRANCH_UNION_ZUZHI_WY.name(),
RoleConstant.BRANCH_UNION_CHAIRMAN.name(), RoleConstant.BRANCH_UNION_CHAIRMAN.name(),
RoleConstant.BRANCH_UNION_WY.name(), RoleConstant.BRANCH_UNION_WY.name(),
RoleConstant.BRANCH_UNION_XUANCHUAN_WY.name(), RoleConstant.BRANCH_UNION_XUANCHUAN_WY.name(),
RoleConstant.BRANCH_UNION_WENTI_WY.name(), RoleConstant.BRANCH_UNION_WENTI_WY.name(),
RoleConstant.BRANCH_UNION_WENTI_SPORTS.name(),
RoleConstant.BRANCH_UNION_NVGONG_WY.name(),
RoleConstant.BRANCH_UNION_XJSHAN_PROMOTION.name() RoleConstant.BRANCH_UNION_XJSHAN_PROMOTION.name()
)) { )) {
cnd.and(View_user::getUnionId, "=", SecurityUtil.getUnionId()); cnd.and(View_user::getUnionId, "=", SecurityUtil.getUnionId());