lidongdong
2024-12-25 82a5bbb0cc0bd891e415fc0c5a3cb4d599953977
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.panzhihua.common.interfaces;
 
import java.lang.annotation.*;
 
/**
 * 自定义操作日志注解
 * 
 * @author wu
 */
@Target(ElementType.METHOD) // 注解放置的目标位置,METHOD是可注解在方法级别上
@Retention(RetentionPolicy.RUNTIME) // 注解在哪个阶段执行
@Documented
public @interface OperLog {
    String operModul() default ""; // 操作模块
 
    int operType() default 0; // 操作类型 业务类型(0其它 1新增 2修改 3删除)
 
    String businessType() default ""; //操作类型
 
}