| | |
| | | Date predictTime = reqVO.getPredictTime(); |
| | | if (predictTime == null) { |
| | | MmItemOutputEntity output = mmItemOutputService.getOutPutById(reqVO.getOutIds().get(0)); |
| | | ItemVO predictItem = mmPredictItemService.getItemById(output.getItemid()); |
| | | ItemVO predictItem = mmPredictItemService.getItemByIdFromCache(output.getItemid()); |
| | | if (predictItem.getLastTime() != null) { |
| | | predictTime = predictItem.getLastTime(); |
| | | } else { |
| | |
| | | @Override |
| | | public PreDataItemChartRespVO getPreDataItemChart(PreDataItemChartReqVO reqVO) { |
| | | PreDataItemChartRespVO result = new PreDataItemChartRespVO(); |
| | | ItemVO predictItem = mmPredictItemService.getItemById(reqVO.getItemId()); |
| | | ItemVO predictItem = mmPredictItemService.getItemByIdFromCache(reqVO.getItemId()); |
| | | if (predictItem == null) { |
| | | return result; |
| | | } |