| | |
| | | } |
| | | |
| | | @Override |
| | | public Map<String, List<Object[]>> getPreDataCur(PreDataJsonReqVO reqVO) { |
| | | Map<String, List<Object[]>> result = new HashMap<>(); |
| | | if (reqVO == null || reqVO.getPredictTime() == null || CollectionUtils.isEmpty(reqVO.getOutputIdList())) { |
| | | return result; |
| | | } |
| | | reqVO.getOutputIdList().forEach(outPutId -> { |
| | | result.put(outPutId, mmItemResultJsonService.getData(outPutId, reqVO.getPredictTime(), DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)); |
| | | }); |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | public PlanDataSingleChartRespVO getPlanDataSingleChart(PreDataSingleChartReqVO reqVO) { |
| | | PlanDataSingleChartRespVO result = new PlanDataSingleChartRespVO(); |
| | | Map<String, String> chartParams = chartService.getByChartCode(reqVO.getChartCode()); |