public interface MoreObjToSQL
| 限定符和类型 | 方法和说明 |
|---|---|
<T> String |
toSelectSQL(T entity) |
<T> String |
toSelectSQL(T entity,
Condition condition)
根据entity和Condition转换成sql语句
|
<T> String |
toSelectSQL(T entity,
int start,
int size) |
<T> String toSelectSQL(T entity)
<T> String toSelectSQL(T entity, int start, int size)
<T> String toSelectSQL(T entity, Condition condition)
entity - 实体类对象,且不能为空. table's entity(do not allow null).condition - 默认有值的字段会转成field=value的形式,其它形式可通过condition指定.
if the field is not null or empty, it will be translate to field=value.Other can define with condition.Copyright © 2021. All rights reserved.