@@ -30,6 +30,11 @@ public interface RgDataMapper extends BaseMapper<RgData> {
@Select(value="SELECT SUM(a.rainfall)as rainfall ,a.time FROM (select * from tb_rg_data ${ew.customSqlSegment})a GROUP BY a.time")
List<RgData>imgList(@Param("ew")Wrapperwrapper);
@Select(value="SELECT SUM(a.rainfall)as rainfall ,a.time FROM (select * from tb_rg_data ${ew.customSqlSegment})a GROUP BY DATE_FORMAT( a.time, '%y-%m' )")