类 BaseDataScopeHandler

java.lang.Object
org.macrocloud.kernel.datascope.handler.BaseDataScopeHandler
所有已实现的接口:
DataScopeHandler

public class BaseDataScopeHandler extends Object implements DataScopeHandler
默认数据权限规则
  • 构造器详细资料

    • BaseDataScopeHandler

      public BaseDataScopeHandler()
  • 方法详细资料

    • sqlCondition

      public String sqlCondition(String mapperId, DataScopeModel dataScope, org.macrocloud.kernel.auth.MacroUser macroUser, String originalSql)
      从接口复制的说明: DataScopeHandler
      获取过滤sql
      指定者:
      sqlCondition 在接口中 DataScopeHandler
      参数:
      mapperId - 数据查询类
      dataScope - 数据权限类
      macroUser - 当前用户信息
      originalSql - 原始Sql
      返回:
      sql