Annotation Interface OptLog


@Target({PARAMETER,METHOD}) @Retention(RUNTIME) @Documented public @interface OptLog
自定义操作记录日志记录注解
Since:
2024-02-27 17:43:53
Author:
xieyubin
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    cn.sinozg.applet.common.enums.BizType
    功能
    boolean
    是否记录数据变动,默认记录
    模块 @Tag.description
    cn.sinozg.applet.common.enums.OptType
    操作人类别
    boolean
    是否保存请求 和返回参数
    关联关系 没有则从默认为第一个参数
    名称 默认取 @Operation.summary
  • Element Details

    • title

      String title
      名称 默认取 @Operation.summary
      Default:
      ""
    • module

      String module
      模块 @Tag.description
      Default:
      ""
    • bizType

      cn.sinozg.applet.common.enums.BizType bizType
      功能
      Default:
      OTHER
    • optType

      cn.sinozg.applet.common.enums.OptType optType
      操作人类别
      Default:
      MANAGE
    • saveParams

      boolean saveParams
      是否保存请求 和返回参数
      Default:
      true
    • dataLog

      boolean dataLog
      是否记录数据变动,默认记录
      Default:
      true
    • tie

      Class<?> tie
      关联关系 没有则从默认为第一个参数
      Default:
      java.lang.Void.class