public interface Compare<Children> extends Serializable
Compare
| 限定符和类型 | 方法和说明 |
|---|---|
Children |
allEq(boolean condition,
Map<kotlin.reflect.KProperty<?>,?> params,
boolean null2IsNull)
map 所有非空属性等于 =
|
default Children |
allEq(Map<kotlin.reflect.KProperty<?>,?> params) |
default Children |
allEq(Map<kotlin.reflect.KProperty<?>,?> params,
boolean null2IsNull) |
default Children |
between(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val1,
Object val2) |
Children |
between(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val1,
Object val2)
BETWEEN 值1 AND 值2
|
default Children |
between(kotlin.reflect.KProperty<?> column,
Object val1,
Object val2) |
default Children |
between(String alias,
kotlin.reflect.KProperty<?> column,
Object val1,
Object val2) |
default Children |
eq(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
eq(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
等于 =
|
default Children |
eq(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
eq(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
ge(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
ge(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
大于等于 >=
|
default Children |
ge(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
ge(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
gt(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
gt(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
大于 >
|
default Children |
gt(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
gt(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
le(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
le(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
小于等于 <=
|
default Children |
le(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
le(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
like(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
like(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
LIKE '%值%'
|
default Children |
like(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
like(String alisa,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
likeLeft(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
likeLeft(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
LIKE '%值'
|
default Children |
likeLeft(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
likeLeft(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
likeRight(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
likeRight(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
LIKE '值%'
|
default Children |
likeRight(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
likeRight(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
lt(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
lt(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
小于 <
|
default Children |
lt(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
lt(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
ne(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
ne(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
不等于 <>
|
default Children |
ne(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
ne(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
notBetween(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val1,
Object val2) |
Children |
notBetween(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val1,
Object val2)
NOT BETWEEN 值1 AND 值2
|
default Children |
notBetween(kotlin.reflect.KProperty<?> column,
Object val1,
Object val2) |
default Children |
notBetween(String alias,
kotlin.reflect.KProperty<?> column,
Object val1,
Object val2) |
default Children |
notLike(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
notLike(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
NOT LIKE '%值%'
|
default Children |
notLike(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
notLike(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
notLikeLeft(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
notLikeLeft(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
LIKE '%值'
|
default Children |
notLikeLeft(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
notLikeLeft(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
notLikeRight(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val) |
Children |
notLikeRight(boolean condition,
String alias,
kotlin.reflect.KProperty<?> column,
Object val)
LIKE '值%'
|
default Children |
notLikeRight(kotlin.reflect.KProperty<?> column,
Object val) |
default Children |
notLikeRight(String alias,
kotlin.reflect.KProperty<?> column,
Object val) |
Children allEq(boolean condition, Map<kotlin.reflect.KProperty<?>,?> params, boolean null2IsNull)
condition - 执行条件params - map 类型的参数, key 是字段名, value 是字段值null2IsNull - 是否参数为 null 自动执行 isNull 方法, false 则忽略这个字段\Children eq(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值Children ne(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值Children gt(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值Children ge(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值Children lt(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值Children le(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值default Children between(String alias, kotlin.reflect.KProperty<?> column, Object val1, Object val2)
default Children between(boolean condition, kotlin.reflect.KProperty<?> column, Object val1, Object val2)
Children between(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val1, Object val2)
condition - 执行条件column - 字段val1 - 值1val2 - 值2default Children notBetween(kotlin.reflect.KProperty<?> column, Object val1, Object val2)
default Children notBetween(String alias, kotlin.reflect.KProperty<?> column, Object val1, Object val2)
default Children notBetween(boolean condition, kotlin.reflect.KProperty<?> column, Object val1, Object val2)
Children notBetween(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val1, Object val2)
condition - 执行条件column - 字段val1 - 值1val2 - 值2Children like(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值Children notLike(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值default Children likeLeft(boolean condition, kotlin.reflect.KProperty<?> column, Object val)
Children likeLeft(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值default Children notLikeLeft(String alias, kotlin.reflect.KProperty<?> column, Object val)
default Children notLikeLeft(boolean condition, kotlin.reflect.KProperty<?> column, Object val)
Children notLikeLeft(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值default Children likeRight(boolean condition, kotlin.reflect.KProperty<?> column, Object val)
Children likeRight(boolean condition, String alias, kotlin.reflect.KProperty<?> column, Object val)
condition - 执行条件column - 字段val - 值default Children notLikeRight(String alias, kotlin.reflect.KProperty<?> column, Object val)
default Children notLikeRight(boolean condition, kotlin.reflect.KProperty<?> column, Object val)
Copyright © 2023. All rights reserved.