| Package | Description |
|---|---|
| tk.mybatis.mapper.additional.aggregation |
| Modifier and Type | Method and Description |
|---|---|
AggregateCondition |
AggregateCondition.aggregateBy(String aggregateProperty) |
AggregateCondition |
AggregateCondition.aggregateType(AggregateType aggregateType) |
AggregateCondition |
AggregateCondition.aliasName(String aggregateAliasName) |
static AggregateCondition |
AggregateCondition.builder() |
AggregateCondition |
AggregateCondition.groupBy(String... groupByProperties) |
| Modifier and Type | Method and Description |
|---|---|
static String |
AggregationProvider.aggregationGroupBy(Class<?> entityClass,
String wrapKeyword,
AggregateCondition condition) |
static String |
AggregationProvider.aggregationSelectClause(Class<?> entityClass,
String wrapKeyword,
AggregateCondition condition) |
List<T> |
AggregationMapper.selectAggregationByExample(Object example,
AggregateCondition aggregateCondition)
根据example和aggregateCondition进行聚合查询
分组不支持having条件过滤, 如需要建议使用xml文件
|
Copyright © 2018. All rights reserved.