统计报表-功率曲线

This commit is contained in:
2025-07-09 22:41:14 +08:00
parent 53f515ad6c
commit 406cc59b25
9 changed files with 213 additions and 14 deletions

View File

@ -60,7 +60,7 @@ public class EmsStatisticalReportController extends BaseController
{
if (!StringUtils.isEmpty(requestVo.getSiteId()) &&
!StringUtils.isEmpty(requestVo.getDeviceId()) &&
requestVo.getDataType() != 0) {
!StringUtils.isEmpty(requestVo.getDataType())) {
return success(ieEmsStatsReportService.getPCSDataResult(requestVo));
} else {
return error("缺少必传项");
@ -75,7 +75,7 @@ public class EmsStatisticalReportController extends BaseController
{
if (!StringUtils.isEmpty(requestVo.getSiteId()) &&
!StringUtils.isEmpty(requestVo.getDeviceId()) &&
requestVo.getDataType() != 0) {
!StringUtils.isEmpty(requestVo.getDataType())) {
return success(ieEmsStatsReportService.getStackDataResult(requestVo));
} else {
return error("缺少必传项");
@ -125,4 +125,19 @@ public class EmsStatisticalReportController extends BaseController
}
}
/**
* 概率统计-功率曲线
*/
@GetMapping("/getPowerData")
public AjaxResult getPowerData(DateSearchRequest requestVo)
{
if (!StringUtils.isEmpty(requestVo.getSiteId())
&& !StringUtils.isEmpty(requestVo.getDeviceId())
&& !StringUtils.isEmpty(requestVo.getDataType())) {
return success(ieEmsStatsReportService.getPowerDataList(requestVo));
} else {
return error("缺少必传项");
}
}
}