| | |
| | | String trendsDataH = tMap.get(CommonConstant.TRENDSDATA_H) == null ? null : tMap.get(CommonConstant.TRENDSDATA_H); |
| | | String trendsDataL = tMap.get(CommonConstant.TRENDSDATA_L) == null ? null : tMap.get(CommonConstant.TRENDSDATA_L); |
| | | String culIndex = tMap.get(CommonConstant.CUL_INDEX) == null ? null : tMap.get(CommonConstant.CUL_INDEX);//累计量 |
| | | String lineType = tMap.get(CommonConstant.LINE_TYPE) == null ? null : tMap.get(CommonConstant.LINE_TYPE); |
| | | |
| | | Date[] timeArray = calResultTime(predictItem, reqVO.getStartTime(), reqVO.getEndTime(), lengthLeft, lengthRight); |
| | | Date startTime = timeArray[1]; |
| | |
| | | } |
| | | } |
| | | preDataView.setCulData(culData); |
| | | preDataView.setPreData(resultOld.getDataView().getPreDataL()); |
| | | switch (lineType) { |
| | | case "0": |
| | | preDataView.setPreData(resultOld.getDataView().getPreDataN()); |
| | | break; |
| | | case "1": |
| | | preDataView.setPreData(resultOld.getDataView().getPreDataL()); |
| | | break; |
| | | default: |
| | | break; |
| | | } |
| | | result.setPreDataView(preDataView); |
| | | return result; |
| | | } |