类 SohelpFilter
java.lang.Object
net.sohelp.boot.engine.web.SohelpFilter
方案过滤
- 从以下版本开始:
- 2025/3/29 16:38
- 作者:
- AaronFung
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
SohelpFilter
public SohelpFilter()
-
-
方法详细资料
-
where
@Comment("\u65b9\u6848\u8fc7\u6ee4") public SchemeFilterBuilder where(String refid) throws TokenAuthenticationException, BusiException, SQLException, EntityException 方案过滤- 参数:
refid- 方案引用ID- 返回:
- 返回方案过滤构建器
- 抛出:
TokenAuthenticationException- 令牌认证异常BusiException- 业务异常SQLException- 数据库SQL异常EntityException
-
where
@Comment("\u65b9\u6848\u8fc7\u6ee4") public SchemeFilterBuilder where(String refid, Map<String, Object> paramMap) throws BusiException, SQLException, TokenAuthenticationException, EntityException方案过滤根据给定的模块配置地址和参数映射构建方案过滤器
- 参数:
refid- 模块配置地址,不能为空paramMap- 参数映射,用于覆盖默认参数- 返回:
- 返回构建好的方案过滤器构建器
- 抛出:
BusiException- 当模块配置地址为空或数据列表配置不存在时抛出SQLException- 当数据库操作异常时抛出TokenAuthenticationException- 当令牌认证失败时抛出EntityException
-
where
public SchemeFilterBuilder where() throws BusiException, SQLException, TokenAuthenticationException, EntityException构建查询条件过滤器,从请求参数中获取refid并初始化参数映射。该方法从HTTP请求中提取refid参数,创建一个空的参数映射, 然后调用重载的where方法进行进一步处理。
- 返回:
- 返回SchemeFilterBuilder对象,用于构建查询条件
- 抛出:
BusiException- 当业务处理发生异常时抛出SQLException- 当数据库操作发生异常时抛出TokenAuthenticationException- 当令牌认证失败时抛出EntityException
-