|
|
@@ -98,7 +98,7 @@ public interface ShowChartsMapper {
|
|
|
@Param("screen") String screen);
|
|
|
|
|
|
//无分组时间类型值(柱状图)->优化后
|
|
|
- @Select("select ${dataType}(${yAxisName}) from ${tableName} WHERE 1=1 ${screen} GROUP BY (to_char(${xAxisName},${timeType})) ORDER BY (to_char(${xAxisName},${timeType}))")
|
|
|
+ @Select("select ${dataType}(${yAxisName}) from ${tableName} WHERE 1=1 ${screen} GROUP BY (to_char(${xAxisName},${timeType})) ")
|
|
|
List<Double> getHistogramTimeValue(@Param("dataType") String dataType, @Param("yAxisName") String yAxisName,
|
|
|
@Param("tableName") String tableName, @Param("xAxisName") String xAxisName,
|
|
|
@Param("timeType") String timeType, @Param("screen") String screen);
|