feat:增加操作日志

This commit is contained in:
曾文豪
2023-01-03 14:05:02 +08:00
parent 3ace520064
commit 08afab388a
15 changed files with 541 additions and 37 deletions

View File

@@ -0,0 +1,24 @@
package com.tiesheng.annotation.operation;
import java.lang.annotation.*;
/**
* @author hao
*/
@Target(ElementType.METHOD)
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLog {
String title() default "";
String subject() default "";
/**
* 如果该值存在,怎会校验参数中是否存在该值,存在则便是更新,不存在则表示添加
*
* @return
*/
String insertKey() default "";
}