public interface HbatisStatementMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
List<Map> |
aggregate(AggregationStatement<T> st)
aggregate by statement
|
long |
countByRestrictions(Restrictions<T> restrictions)
count by restrictions
|
int |
deleteByRestrictions(Restrictions<T> restrictions)
delete by restrictions
|
int |
insertByStatement(InsertStatement<T> statement)
insert by statement
|
List<T> |
selectByStatement(SelectStatement<T> statement)
select by statement
|
int |
updateByStatement(UpdateStatement<T> statement)
update by statement
|
int insertByStatement(@Param(value="st")
InsertStatement<T> statement)
statement - insert statementint updateByStatement(@Param(value="st")
UpdateStatement<T> statement)
statement - update statementint deleteByRestrictions(@Param(value="restrictions")
Restrictions<T> restrictions)
restrictions - conditions@EntityResultMapping List<T> selectByStatement(@Param(value="st") SelectStatement<T> statement)
statement - select statementlong countByRestrictions(@Param(value="restrictions")
Restrictions<T> restrictions)
restrictions - conditionsList<Map> aggregate(@Param(value="st") AggregationStatement<T> st)
st - aggregate statementCopyright © 2024. All rights reserved.