pjb
2025-03-08 83b51a5a0774ea8ecb9a06304af3b956a21307c8
zy-asrs-wms/src/main/java/com/zy/asrs/wms/common/annotation/OperationLog.java
@@ -1,41 +1,41 @@
package com.zy.asrs.wms.common.annotation;
import java.lang.annotation.*;
/**
 * 操作日志记录注解
 *
 * @author vincent
 * @since 2020-03-21 17:03:08
 */
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLog {
    /**
     * 操作功能
     */
    String value() default "";
    /**
     * 操作模块
     */
    String module() default "";
    /**
     * 备注
     */
    String comments() default "";
    /**
     * 是否记录请求参数
     */
    boolean param() default true;
    /**
     * 是否记录返回结果
     */
    boolean result() default true;
}
package com.zy.asrs.wms.common.annotation;
import java.lang.annotation.*;
/**
 * 操作日志记录注解
 *
 * @author vincent
 * @since 2020-03-21 17:03:08
 */
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLog {
    /**
     * 操作功能
     */
    String value() default "";
    /**
     * 操作模块
     */
    String module() default "";
    /**
     * 备注
     */
    String comments() default "";
    /**
     * 是否记录请求参数
     */
    boolean param() default true;
    /**
     * 是否记录返回结果
     */
    boolean result() default true;
}