|
|
@@ -131,7 +131,7 @@ public interface ShowChartsMapper {
|
|
|
|
|
|
|
|
|
//查询时间类型分组的值
|
|
|
- @Select("select ${dataType}(${yAxisName}) from ${tableName} where ${groupsColumn}=#{groupsIndex} and TO_CHAR(${xColumn},${timeType})=#{xColumnIndex} ")
|
|
|
+ @Select("select ${dataType}(${yAxisName}) from ${tableName} where ${groupsColumn}=#{groupsIndex} and TO_CHAR(${xColumn},${timeType})=#{xColumnIndex, jdbcType=VARCHAR} ")
|
|
|
String getGroupsValueTime(@Param("dataType") String dataType, @Param("yAxisName") String yAxisName, @Param("tableName") String tableName,
|
|
|
@Param("groupsColumn") String groupsColumn, @Param("groupsIndex") String groupsIndex,
|
|
|
@Param("xColumn") String xColumn, @Param("timeType") String timeType, @Param("xColumnIndex") String xColumnIndex
|