日志注解简单开发

This commit is contained in:
18792927508
2023-10-10 22:41:40 +08:00
parent 0c6b0a2bae
commit fd4a156e25
6 changed files with 213 additions and 12 deletions
@@ -0,0 +1,34 @@
package com.ruoyi.common.annotation;
import java.lang.annotation.*;
/**
* 案件操作日志记录注解
*
* @author wangqiong
*
*/
@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CaseLog
{
/**
* 案件申请人id
*/
public long caseAppliId() default 0L;
/**
* 案件节点
*/
public String caseNode() default "";
/**
* 备注
*/
public String notes() default "";
}