类 InterceptorIgnoreHelper

java.lang.Object
com.baomidou.mybatisplus.core.plugins.InterceptorIgnoreHelper

public abstract class InterceptorIgnoreHelper
extends Object
从以下版本开始:
2020-07-31
作者:
miemie
  • 构造器详细资料

    • InterceptorIgnoreHelper

      public InterceptorIgnoreHelper()
  • 方法详细资料

    • initSqlParserInfoCache

      public static InterceptorIgnoreHelper.InterceptorIgnoreCache initSqlParserInfoCache​(Class<?> mapperClass)
      初始化缓存

      Mapper 上 InterceptorIgnore 注解信息

      参数:
      mapperClass - Mapper Class
    • initSqlParserInfoCache

      public static void initSqlParserInfoCache​(InterceptorIgnoreHelper.InterceptorIgnoreCache mapperAnnotation, String mapperClassName, Method method)
      初始化缓存

      Mapper#method 上 InterceptorIgnore 注解信息

      参数:
      mapperAnnotation - Mapper Class Name
      method - Method
    • willIgnoreTenantLine

      public static boolean willIgnoreTenantLine​(String id)
    • willIgnoreDynamicTableName

      public static boolean willIgnoreDynamicTableName​(String id)
    • willIgnoreBlockAttack

      public static boolean willIgnoreBlockAttack​(String id)
    • willIgnoreIllegalSql

      public static boolean willIgnoreIllegalSql​(String id)
    • willIgnoreDataPermission

      public static boolean willIgnoreDataPermission​(String id)
    • willIgnoreOthersByKey

      public static boolean willIgnoreOthersByKey​(String id, String key)
    • willIgnore

      public static boolean willIgnore​(String id, Function<InterceptorIgnoreHelper.InterceptorIgnoreCache,​Boolean> function)