chenw 6 лет назад
Родитель
Сommit
5f4a9fb8ba

+ 1 - 1
bi-server/src/main/java/com/usoftchina/bi/server/dao/chart/ShowChartsMapper.java

@@ -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);