| 程序包 | 说明 |
|---|---|
| cn.sylinx.hbatis.ext.function | |
| cn.sylinx.hbatis.ext.function.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
IFunction |
FunctionFactory.getFunction(String alias) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FunctionFactory.register(IFunction f)
注册函数
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Exclude
排除操作
使用方法 #FUNC[exclude,field,params], 接收一个参数 params, 默认使用 and 组合 #FUNC[include,field,params,0] 使用 and 组合 #FUNC[include,field,params,1] 使用 not in |
class |
Include
包含操作
使用方法 #FUNC[include,field,params], 接收一个参数 params, 默认使用 or 组合 #FUNC[include,field,params,0] 使用 or 组合 #FUNC[include,field,params,1] 使用 in |
class |
Like
自定义 like函数,使用方法:
#FUNC[like, email, emailLikeStr] 任意匹配
#FUNC[like, email, emailLikeStr,1] 右边字符全匹配
#FUNC[like, email, emailLikeStr,2] 左边字符全匹配
|
Copyright © 2019. All rights reserved.