diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/JfpgAnalyzeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/JfpgAnalyzeController.java index 8c77105..145b171 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/JfpgAnalyzeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/JfpgAnalyzeController.java @@ -36,7 +36,7 @@ public class JfpgAnalyzeController { List jfpgInfoList = baseJfpgInfoService.selectBaseJfpgInfoList(new BaseJfpgInfo(0L)); //List scadaEmsElectriclossList = scadaEmsElectriclossService.selectScadaEmsElectriclossList(new ScadaEmsElectricloss()); - Map> jfpgMap = jfpgInfoList.stream().collect(Collectors.groupingBy(BaseJfpgInfo :: getTimeframeName)); + Map> jfpgMap = jfpgInfoList.stream().collect(Collectors.groupingBy(BaseJfpgInfo :: getTimeframeCode)); // 尖