public interface MoreObjToSQL
| Modifier and Type | Method and Description |
|---|---|
<T> String |
toSelectSQL(T entity)
Convert to SQL statement according to entity.
|
<T> String |
toSelectSQL(T entity,
Condition condition)
Convert to SQL statement according to entity and condition.
|
<T> String |
toSelectSQL(T entity,
int start,
int size)
Convert to SQL statement according to entity and paging parameters.
|
<T> String toSelectSQL(T entity)
entity - table's entity(do not allow null).<T> String toSelectSQL(T entity, int start, int size)
entity - table's entity(do not allow null).start - size - <T> String toSelectSQL(T entity, Condition condition)
entity - table's entity(do not allow null).condition - if the field is not null or empty, it will be translate to field=value.Other can define with condition.Copyright © 2025. All rights reserved.