|
@@ -69,7 +69,7 @@ public class StationAnalysisController {
|
|
|
|
|
|
) throws Exception {
|
|
|
|
|
|
- Map<String, Page<InverterAnalysis>> resultList = windturbinegoodnessService.inverterAnalysis(companys, type, wpid, pageSize, pageNum, target, sort);
|
|
|
+ Page<InverterAnalysis> resultList = windturbinegoodnessService.inverterAnalysis(companys, type, wpid, pageSize, pageNum, target, sort);
|
|
|
|
|
|
if (com.gyee.common.model.StringUtils.isNotNull(resultList)) {
|
|
|
return R.data(ResultMsg.ok(resultList));
|
|
@@ -79,4 +79,30 @@ public class StationAnalysisController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
+ * 逆变器分析二次页面
|
|
|
+ */
|
|
|
+
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "场站性能分析", notes = "场站性能分析")
|
|
|
+ public R inverterAnalysis2(
|
|
|
+ @RequestParam(value = "wtid", required = true) String wtid,
|
|
|
+ @RequestParam(value = "beginDate", required = true) String beginDate,
|
|
|
+ @RequestParam(value = "endDate", required = true) String endDate,
|
|
|
+ @RequestParam(value = "pageSize", required = true) Long pageSize,
|
|
|
+ @RequestParam(value = "pageNum", required = true) Long pageNum,
|
|
|
+ @RequestParam(value = "target", required = false) String target,
|
|
|
+ @RequestParam(value = "sort", required = false) String sort
|
|
|
+ ) throws Exception {
|
|
|
+
|
|
|
+ Map<String, List<StationAnalysis>> resultList = windturbinegoodnessService.inverterAnalysis2(wtid, beginDate, endDate, pageSize, pageNum, target, sort);
|
|
|
+
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }*/
|
|
|
+
|
|
|
+
|
|
|
}
|