From 92a8386e40b158dda4c560d3945b6e5784de0acd Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Fri, 27 Feb 2026 09:52:36 +0800 Subject: [PATCH] commit --- .../condolence/controller/CondolenceApplyController.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/budwk/app/zhgh/staffbenefit/condolence/controller/CondolenceApplyController.java b/src/main/java/com/budwk/app/zhgh/staffbenefit/condolence/controller/CondolenceApplyController.java index 7ffc294..76810c9 100644 --- a/src/main/java/com/budwk/app/zhgh/staffbenefit/condolence/controller/CondolenceApplyController.java +++ b/src/main/java/com/budwk/app/zhgh/staffbenefit/condolence/controller/CondolenceApplyController.java @@ -144,7 +144,13 @@ public class CondolenceApplyController { cnd.and(seg); } if(!AuthUtil.hasRoleOr(RoleConstant.SYSADMIN.name(), RoleConstant.SCHOOL_UNION_ADMIN.name())) { - if(AuthUtil.hasRoleOr(RoleConstant.BRANCH_UNION_ADMIN.name(), RoleConstant.BRANCH_UNION_CHAIRMAN.name())) { + if(AuthUtil.hasRoleOr( + RoleConstant.BRANCH_UNION_ADMIN.name(), + RoleConstant.BRANCH_UNION_CHAIRMAN.name(), + RoleConstant.BRANCH_UNION_WY.name(), + RoleConstant.BRANCH_UNION_XUANCHUAN_WY.name(), + RoleConstant.BRANCH_UNION_WENTI_WY.name() + )) { cnd.and(View_user::getUnionId, "=", SecurityUtil.getUnionId()); } else { cnd.and(View_user::getId, "=", SecurityUtil.getUserId());