dev #2

Merged
dashixiong merged 349 commits from dev into main 2026-02-11 01:55:46 +00:00
353 changed files with 52462 additions and 1113 deletions
Showing only changes of commit 3488808786 - Show all commits

View File

@ -17,10 +17,14 @@ public class GeneralQueryResponse {
// 点位数据类型1-瞬时值2-累计值
private Long dataType;
public GeneralQueryResponse(String siteId, List<DevicePointDataList> deviceList, Long dataType) {
// 点位数据图表类型1-曲线图2-箱线图
private Long chartType;
public GeneralQueryResponse(String siteId, List<DevicePointDataList> deviceList, Long dataType, Long chartType) {
this.siteId = siteId;
this.deviceList = deviceList;
this.dataType = dataType;
this.chartType = chartType;
}
public GeneralQueryResponse() {
@ -50,4 +54,12 @@ public class GeneralQueryResponse {
public void setDataType(Long dataType) {
this.dataType = dataType;
}
public Long getChartType() {
return chartType;
}
public void setChartType(Long chartType) {
this.chartType = chartType;
}
}

View File

@ -234,7 +234,7 @@ public class GeneralQueryServiceImpl implements IGeneralQueryService
})
.collect(Collectors.toList());
return new GeneralQueryResponse(siteId, deviceList, dataType);
return new GeneralQueryResponse(siteId, deviceList, dataType, 2L);
})
.collect(Collectors.toList());
}
@ -286,7 +286,7 @@ public class GeneralQueryServiceImpl implements IGeneralQueryService
.collect(Collectors.toList());
// 5. 构建SiteData
return new GeneralQueryResponse(siteId, deviceList, dataType);
return new GeneralQueryResponse(siteId, deviceList, dataType, 2L);
})
.collect(Collectors.toList());
}
@ -340,7 +340,7 @@ public class GeneralQueryServiceImpl implements IGeneralQueryService
.collect(Collectors.toList());
// 5. 构建SiteData
return new GeneralQueryResponse(siteId, deviceList, dataType);
return new GeneralQueryResponse(siteId, deviceList, dataType, 1L);
})
.collect(Collectors.toList());
}
@ -371,7 +371,7 @@ public class GeneralQueryServiceImpl implements IGeneralQueryService
})
.collect(Collectors.toList());
return new GeneralQueryResponse(siteId, deviceList, dataType);
return new GeneralQueryResponse(siteId, deviceList, dataType, 1L);
})
.collect(Collectors.toList());