| | |
| | | * @param predictResult |
| | | * @return |
| | | */ |
| | | private Map<String, List<DataValueVO>> convertToPredictData(PredictResultVO predictResult) { |
| | | public Map<String, List<DataValueVO>> convertToPredictData(PredictResultVO predictResult) { |
| | | Map<String, List<DataValueVO>> resultMap = new HashMap<>(); |
| | | List<MmItemOutputVO> itemOutPutList = itemEntityFactory.getOutPutByItemId(predictResult.getPredictId()); |
| | | |
| | |
| | | resultMap.put(itemOutPutList.get(0).getId(), predictResult.getPredictList()); |
| | | return resultMap; |
| | | } |
| | | ApiPointDTO point = dataPointApi.getPointById(itemOutPutList.get(0).getPointId()); |
| | | ApiPointDTO point = dataPointApi.getInfoById(itemOutPutList.get(0).getPointId()); |
| | | List<Date> dateTimeList = new ArrayList<>(); |
| | | Integer rows = predictResult.getPredictMatrix().length; |
| | | Integer columns = predictResult.getPredictMatrix()[0].length; |