Class AggregationProvider
java.lang.Object
cn.lm.mybatis.mapper.mapperhelper.MapperTemplate
cn.lm.mybatis.mapper.additional.aggregation.AggregationProvider
- Author:
- liuchan, liuzh
-
Field Summary
Fields inherited from class cn.lm.mybatis.mapper.mapperhelper.MapperTemplate
entityClassMap, mapperClass, mapperHelper, methodMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaggregationGroupBy(Class<?> entityClass, String wrapKeyword, AggregateCondition condition) static StringaggregationSelectClause(Class<?> entityClass, String wrapKeyword, AggregateCondition condition) selectAggregationByExample(org.apache.ibatis.mapping.MappedStatement ms) 根据Example查询总数Methods inherited from class cn.lm.mybatis.mapper.mapperhelper.MapperTemplate
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
-
Constructor Details
-
AggregationProvider
-
-
Method Details
-
aggregationSelectClause
public static String aggregationSelectClause(Class<?> entityClass, String wrapKeyword, AggregateCondition condition) -
aggregationGroupBy
public static String aggregationGroupBy(Class<?> entityClass, String wrapKeyword, AggregateCondition condition) -
selectAggregationByExample
根据Example查询总数- Parameters:
ms-- Returns:
-