类 MyBatisEntityListener

java.lang.Object
com.elitesland.ystdms.sys.config.MyBatisEntityListener
所有已实现的接口:
com.mybatisflex.annotation.InsertListener, com.mybatisflex.annotation.Listener, com.mybatisflex.annotation.UpdateListener, Comparable<com.mybatisflex.annotation.Listener>

public class MyBatisEntityListener extends Object implements com.mybatisflex.annotation.InsertListener, com.mybatisflex.annotation.UpdateListener
MyBatis-Flex 实体监听器 自动填充创建人、更新人信息
  • 构造器详细资料

    • MyBatisEntityListener

      public MyBatisEntityListener()
  • 方法详细资料

    • onInsert

      public void onInsert(Object entity)
      插入前置处理 自动填充:creator
      指定者:
      onInsert 在接口中 com.mybatisflex.annotation.InsertListener
    • onUpdate

      public void onUpdate(Object entity)
      更新前置处理 自动填充:updater
      指定者:
      onUpdate 在接口中 com.mybatisflex.annotation.UpdateListener