| 限定符和类型 | 字段和说明 |
|---|---|
IGetter<E> |
FieldMapping.getter
e->((BlobValuePoJo)e).getId()
|
| 限定符和类型 | 方法和说明 |
|---|---|
FieldMapping<E> |
FieldMapping.sg(ISetter<E> setter,
IGetter<E> getter)
sg: setter, getter简写
|
| 限定符和类型 | 方法和说明 |
|---|---|
IFormApply<E,S> |
FormApply.eq(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.ge(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.gt(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.le(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.like(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.likeLeft(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.likeRight(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.lt(IGetter<E> getter) |
IFormApply<E,S> |
FormApply.ne(IGetter<E> getter) |
| 限定符和类型 | 方法和说明 |
|---|---|
IFormApply<E,S> |
IFormApply.eq(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.ge(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.gt(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.le(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.like(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.likeLeft(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.likeRight(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.lt(IGetter<E> getter) |
IFormApply<E,S> |
IFormApply.ne(IGetter<E> getter) |
| 限定符和类型 | 方法和说明 |
|---|---|
<E extends IEntity> |
UpdateBase.byEntity(E entity,
IGetter<E> getter,
IGetter<E>... getters)
根据entity值更新
o 指定字段列表, 可以是 null 值
o 无指定字段时, 除主键外的非空entity字段
|
<E extends IEntity> |
UpdateBase.byEntity(E entity,
IGetter<E> getter,
IGetter<E>... getters)
根据entity值更新
o 指定字段列表, 可以是 null 值
o 无指定字段时, 除主键外的非空entity字段
|
<E extends IEntity> |
UpdateBase.byExclude(E entity,
IGetter<E> exclude,
IGetter<E>... excludes)
根据entity字段(包括null字段), 但排除指定字段
|
<E extends IEntity> |
UpdateBase.byExclude(E entity,
IGetter<E> exclude,
IGetter<E>... excludes)
根据entity字段(包括null字段), 但排除指定字段
|
<E extends IEntity> |
WhereBase.eqByEntity(E entity,
IGetter<E> column,
IGetter<E>... columns)
根据entity指定字段(允许null)设置where条件
|
<E extends IEntity> |
WhereBase.eqByEntity(E entity,
IGetter<E> column,
IGetter<E>... columns)
根据entity指定字段(允许null)设置where条件
|
<E extends IEntity> |
WhereBase.eqByExclude(E entity,
IGetter<E> exclude,
IGetter<E>... excludes) |
<E extends IEntity> |
WhereBase.eqByExclude(E entity,
IGetter<E> exclude,
IGetter<E>... excludes) |
<LE extends IEntity,RE extends IEntity> |
JoinOn.onEq(IGetter<LE> l,
IGetter<RE> r)
关联关系设置 l(left column) = r(right column)
|
<LE extends IEntity,RE extends IEntity> |
JoinOn.onEq(IGetter<LE> l,
IGetter<RE> r)
关联关系设置 l(left column) = r(right column)
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <E extends IEntity> |
LambdaUtil.resolve(IGetter<E> getter)
返回getter lambda表达式
|
static <E extends IEntity> |
MappingKits.toColumn(Class<E> klass,
IGetter<E> func)
根据getter函数返回数据库字段名称
|
static <E extends IEntity> |
MappingKits.toColumns(Class<E> klass,
IGetter<E> getter,
IGetter<E>... getters) |
static <E extends IEntity> |
MappingKits.toColumns(Class<E> klass,
IGetter<E> getter,
IGetter<E>... getters) |
Copyright © 2021. All rights reserved.