public interface DAO<T extends BaseEntity> extends DataOperator<T>
限定符和类型 | 方法和说明 |
---|---|
void |
addOrUpdate(T record) |
long |
count(QueryCondition queryCondition) |
java.util.List<java.lang.Object> |
findInProjection(QueryCondition queryCondition,
DataColumn... columns) |
java.util.List<java.lang.Object> |
findInProjection(QueryCondition queryCondition,
java.lang.String... columns) |
DAOSession |
getSession()
获取会话对象
|
add, find, findOne, findWithTotalCount, getById, remove, remove, update
DAOSession getSession()
long count(QueryCondition queryCondition) throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.Object> findInProjection(QueryCondition queryCondition, java.lang.String... columns) throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.Object> findInProjection(QueryCondition queryCondition, DataColumn... columns) throws java.lang.Exception
java.lang.Exception
void addOrUpdate(T record) throws java.lang.Exception
java.lang.Exception