dangsn
2024-06-06 33321f5486fd586fda6fd3f46b7e71754fede28b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package com.vci.starter.web.annotation.undo;
 
import org.springframework.stereotype.Component;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 待办事项的查询的内容
 * 条件是or的方式判断
 * @author weidy
 * @date 2022/8/1
 */
@Target({ ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface UndoTaskPlugin {
 
    /**
     * 排序号
     * @return 排序的内容
     */
    int order() ;
    /**
     * 任务类型
     * @return 任务类型
     */
    String name() default "";
 
    /**
     * 权限的名字
     * @return 权限的名字
     */
    String[] funcNames() default "";
 
    /**
     * 指定角色的名称
     * @return 角色名称
     */
    String[] roles() default "";
 
    /**
     * 指定的部门名称
     * @return 部门名称
     */
    String[] depts() default "";
 
    /**
     * 指定的用户名
     * @return 用户名
     */
    String[] users() default "";
 
    /**
     * 指定的角色类型
     * @return 角色类型
     */
    String[] roleTypes() default "";
 
    /**
     * 执行的用户类型
     * @return 用户类型
     */
    String[] userTypes() default "";
 
}