From 0eca9e74014f13ea561cdeb71af249e5620a5154 Mon Sep 17 00:00:00 2001 From: zendwang <wangzhenxian@idadt.com> Date: 星期三, 08 六月 2022 15:37:40 +0800 Subject: [PATCH] update 优化新增用户与角色信息、用户与岗位信息逻辑 --- ruoyi-common/src/main/java/com/ruoyi/common/annotation/DataPermission.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/annotation/DataPermission.java b/ruoyi-common/src/main/java/com/ruoyi/common/annotation/DataPermission.java index e04b236..73d9c03 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/annotation/DataPermission.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/annotation/DataPermission.java @@ -6,8 +6,9 @@ * 鏁版嵁鏉冮檺缁� * * @author Lion Li + * @version 3.5.0 */ -@Target(ElementType.METHOD) +@Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface DataPermission { -- Gitblit v1.9.3