类 DataScopeInnerInterceptor

java.lang.Object
top.tangyh.basic.database.mybatis.auth.DataScopeInnerInterceptor
所有已实现的接口:
com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor

public class DataScopeInnerInterceptor extends Object implements com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor
mybatis 数据权限拦截器 联系作者购买企业版后,获取完整功能源码

作者:
zuihou
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    beforeQuery(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.mapping.BoundSql boundSql)
     
    protected Optional<DataScope>
    findDataScope(Object parameterObj)
    查找参数是否包括DataScope对象

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor

    beforeGetBoundSql, beforePrepare, beforeUpdate, setProperties, willDoQuery, willDoUpdate
  • 构造器详细资料

    • DataScopeInnerInterceptor

      public DataScopeInnerInterceptor()
  • 方法详细资料

    • findDataScope

      protected Optional<DataScope> findDataScope(Object parameterObj)
      查找参数是否包括DataScope对象
      参数:
      parameterObj - 参数列表
      返回:
      DataScope
    • beforeQuery

      public void beforeQuery(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.mapping.BoundSql boundSql)
      指定者:
      beforeQuery 在接口中 com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor