首页>代码>基于SpringBoot+freemarker实现的人事管理系统>/person_system/person-admin/src/main/java/com/person/common/annotation/DataFilter.java
/**
*
*
*
*
*
*/
package com.person.common.annotation;
import java.lang.annotation.*;
/**
* 数据过滤
*
* @author
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataFilter {
/** 表的别名 */
String tableAlias() default "";
/** true:没有本部门数据权限,也能查询本人数据 */
boolean user() default true;
/** true:拥有子部门数据权限 */
boolean subDept() default false;
/** 部门ID */
String deptId() default "dept_id";
/** 用户ID */
String userId() default "user_id";
}
最近下载更多
ttg2025 LV3
9月8日
38735466 LV11
8月4日
gann2015 LV25
6月6日
陈小灏 LV18
2月18日
Mhgfhjyrf LV3
2024年12月10日
15953970869 LV6
2024年11月10日
talete LV3
2024年10月10日
微信网友_7134912998903808 LV15
2024年8月29日
255921158 LV5
2024年7月16日
2578193624 LV2
2024年6月1日

最近浏览