Commit 36a3484c authored by caotao's avatar caotao

Merge branch 'developer' of http://36.40.66.175:5000/moa/amos-boot-biz into developer

parents c00e4807 46426f53
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<foreach collection="dto" item="item" index="index" open="(" separator="," close=")"> <foreach collection="dto" item="item" index="index" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
and year = #{date}
GROUP BY `year_time` GROUP BY `year_time`
</select> </select>
......
...@@ -74,7 +74,7 @@ public class TDengineServerConfig { ...@@ -74,7 +74,7 @@ public class TDengineServerConfig {
@Bean @Bean
public PaginationInterceptor paginationInterceptor() { public PaginationInterceptor paginationInterceptor() {
PaginationInterceptor paginationInterceptor = new PaginationInterceptor(); PaginationInterceptor paginationInterceptor = new PaginationInterceptor();
paginationInterceptor.setDialectType("TAOS-RS"); paginationInterceptor.setDialectType("mysql");
return paginationInterceptor; return paginationInterceptor;
} }
......
...@@ -207,14 +207,14 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS ...@@ -207,14 +207,14 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
if(type.equals("month")){ if(type.equals("month")){
map= getDayListOfMonth(reviewDto.getTimeDateMonth()); map= getDayListOfMonth(reviewDto.getTimeDateMonth());
data= dayGenerateMapper.getDayGeneratqx(date, statioId); data= dayGenerateMapper.getDayGeneratqx(reviewDto.getTimeDateMonth(), statioId);
}else if(type.equals("year")){ }else if(type.equals("year")){
map= getyearListOfMonth(reviewDto.getTimeDateYear()); map= getyearListOfMonth(reviewDto.getTimeDateYear());
data= dayGenerateMapper.getMonthGenerateqx(date,statioId); data= dayGenerateMapper.getMonthGenerateqx(reviewDto.getTimeDateYear(),statioId);
}else{ }else{
map= getyearList(); map= getyearList();
data= dayGenerateMapper.getYearGenerateqx(date, statioId); data= dayGenerateMapper.getYearGenerateqx(null, statioId);
} }
listx =map.get("x"); listx =map.get("x");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment