Class OperationLogInterceptor

java.lang.Object
com.elitesland.ystdms.sys.operationlog.OperationLogInterceptor
All Implemented Interfaces:
com.mybatisflex.annotation.InsertListener, com.mybatisflex.annotation.Listener, com.mybatisflex.annotation.UpdateListener, Comparable<com.mybatisflex.annotation.Listener>

@Component public class OperationLogInterceptor extends Object implements com.mybatisflex.annotation.UpdateListener, com.mybatisflex.annotation.InsertListener
操作日志拦截器
  • Constructor Details

    • OperationLogInterceptor

      public OperationLogInterceptor()
  • Method Details

    • onUpdate

      public void onUpdate(Object entity)
      Specified by:
      onUpdate in interface com.mybatisflex.annotation.UpdateListener
    • onInsert

      public void onInsert(Object entity)
      Specified by:
      onInsert in interface com.mybatisflex.annotation.InsertListener