Commit 59c1fd2d authored by tangwei's avatar tangwei

户用监盘统计参数

parent a9095a7f
...@@ -167,4 +167,9 @@ public class JpStationDto extends BaseDto { ...@@ -167,4 +167,9 @@ public class JpStationDto extends BaseDto {
* **/ * **/
List<Map<String,Object>> powerRatio; List<Map<String,Object>> powerRatio;
String timeDateMonth;
String timeDateYear;
} }
...@@ -206,11 +206,11 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS ...@@ -206,11 +206,11 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
try { try {
if(type.equals("month")){ if(type.equals("month")){
map= getDayListOfMonth(date); map= getDayListOfMonth(reviewDto.getTimeDateMonth());
data= dayGenerateMapper.getDayGeneratqx(date, statioId); data= dayGenerateMapper.getDayGeneratqx(date, statioId);
}else if(type.equals("year")){ }else if(type.equals("year")){
map= getyearListOfMonth(date); map= getyearListOfMonth(reviewDto.getTimeDateYear());
data= dayGenerateMapper.getMonthGenerateqx(date,statioId); data= dayGenerateMapper.getMonthGenerateqx(date,statioId);
}else{ }else{
map= getyearList(); map= getyearList();
......
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