com.healthy.common.log.operation.annotation.UpdateOperationLogging Maven / Gradle / Ivy
package com.healthy.common.log.operation.annotation;
import com.healthy.common.log.operation.enums.OperationTypes;
import org.springframework.core.annotation.AliasFor;
import java.lang.annotation.*;
/**
* UpdateOperationLogging
*
* @author xm.z
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@OperationLogging(type = OperationTypes.UPDATE)
public @interface UpdateOperationLogging {
/**
* 日志信息
* @return 日志描述信息
*/
@AliasFor(annotation = OperationLogging.class)
String msg();
/**
* 是否保存请求的参数
* @return boolean
*/
@AliasFor(annotation = OperationLogging.class)
boolean isSaveParam() default true;
/**
* 是否保存响应的内容
* @return boolean
*/
@AliasFor(annotation = OperationLogging.class)
boolean isSaveResult() default true;
/**
* Spring EL 表达式
* @return expression
*/
@AliasFor(annotation = OperationLogging.class)
String expression() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy