|
@@ -223,15 +223,15 @@ public interface ShowChartsMapper {
|
|
|
/*
|
|
/*
|
|
|
总体分组的值
|
|
总体分组的值
|
|
|
*/
|
|
*/
|
|
|
- @Select("select ${groupBy},${operation} from ${tableName} ${screen} group by ${groupBy} order by ${groupByOne}")
|
|
|
|
|
|
|
+ @Select("select ${groupBy},${operation} from ${tableName} group by ${groupBy} order by ${groupByOne}")
|
|
|
List<LinkedHashMap<String, Object>> getGroupByValue(@Param("groupBy") String groupBy, @Param("operation") String operation, @Param("tableName") String tableName,
|
|
List<LinkedHashMap<String, Object>> getGroupByValue(@Param("groupBy") String groupBy, @Param("operation") String operation, @Param("tableName") String tableName,
|
|
|
@Param("groupByOne") String groupByOne, @Param("screen") String screen);
|
|
@Param("groupByOne") String groupByOne, @Param("screen") String screen);
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
总体TH值
|
|
总体TH值
|
|
|
*/
|
|
*/
|
|
|
- @Select("select median(${columnName}) from sale where ${columnName} between " +
|
|
|
|
|
- " (select ${fOperation}(${columnName}) from sale) and (select ${aOperation}(${columnName}) from ${tableName})" +
|
|
|
|
|
|
|
+ @Select("select median(${columnName}) from ${tableName} where ${columnName} between " +
|
|
|
|
|
+ " (select ${fOperation}(${columnName}) from ${tableName}) and (select ${aOperation}(${columnName}) from ${tableName})" +
|
|
|
" group by " +
|
|
" group by " +
|
|
|
" ${groupBy} order by ${groupByOne}")
|
|
" ${groupBy} order by ${groupByOne}")
|
|
|
List<LinkedHashMap<String, Object>> getGroupByValueTh(@Param("groupBy") String groupBy, @Param("columnName") String columnName, @Param("tableName") String tableName,
|
|
List<LinkedHashMap<String, Object>> getGroupByValueTh(@Param("groupBy") String groupBy, @Param("columnName") String columnName, @Param("tableName") String tableName,
|