慰问申请-校工会办公室审核:仅用新增的“校工会办公室审核员”来审核,移除校工会管理员角色的手机端审核权限(保留pc端不验证角色和系统管理员的审核权限)。
This commit is contained in:
@@ -73,7 +73,7 @@ public class CondolenceAuditControll {
|
||||
.and("sqr.unionid", "=", Vi.getUnionId()));
|
||||
hasAuditRole = true;
|
||||
}
|
||||
if (ShiroUtil.hasAnyRoles("A06,condolence_office,sysadmin")) {
|
||||
if (ShiroUtil.hasAnyRoles("condolence_office,sysadmin")) {
|
||||
group.or(Cnd.exps("con.state_id", isAudit ? ">" : "=", 2020));
|
||||
hasAuditRole = true;
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class CondolenceAuditControll {
|
||||
return "beetl:/mobile/condolence/union_Audit.html";
|
||||
} else if (state_id == 2012 && (superadmin || ShiroUtil.hasAnyRoles("gh03,xghkj,sysadmin"))) {
|
||||
return "beetl:/mobile/condolence/fr_Audit.html";
|
||||
} else if (state_id == 2020 && (superadmin || ShiroUtil.hasAnyRoles("A06,condolence_office,sysadmin"))) {
|
||||
} else if (state_id == 2020 && (superadmin || ShiroUtil.hasAnyRoles("condolence_office,sysadmin"))) {
|
||||
return "beetl:/mobile/condolence/school_Audit.html";
|
||||
}
|
||||
return "beetl:/mobile/condolence/apply_info.html";
|
||||
|
||||
Reference in New Issue
Block a user