|
|
@@ -28,7 +28,7 @@ public interface ShowChartsMapper {
|
|
|
|
|
|
|
|
|
//XY轴数据
|
|
|
- @Select("select ${dataType}(${yAxisName}) as \"value\",${xColumn} as \"date\" from ${tableName} where ${screen} group by ${xColumn}")
|
|
|
+ @Select("select ${dataType}(${yAxisName}) as \"value\",${xColumn} as \"date\" from ${tableName} where 1=1 ${screen} group by ${xColumn}")
|
|
|
List<LineSeriesMap> getXAndYValues(@Param("yAxisName") String yAxisName, @Param("xColumn") String xColumn,
|
|
|
@Param("tableName") String tableName, @Param("dataType") String dataType,
|
|
|
@Param("screen") String screen);
|