| | |
| | | //渗压 |
| | | collect.forEach(dataResChildrenPo -> { |
| | | //所有水库请求预报数据 |
| | | if (!resCd.equals(dataResChildrenPo.getRes_cd())) { |
| | | // if (!resCd.equals(dataResChildrenPo.getRes_cd())) { |
| | | //请求预报水位 |
| | | List<List<String>> future = hsybService.getFuture(dataResChildrenPo.getRes_cd()); |
| | | resCd = dataResChildrenPo.getRes_cd(); |
| | |
| | | //循环预测请求 |
| | | nkyService.hstPredict(arimaPredictReqPo); |
| | | } |
| | | } |
| | | // } |
| | | }); |
| | | }else if (type.equals("2")){ |
| | | //渗流 |
| | | collect.forEach(dataResChildrenPo -> { |
| | | //所有水库请求预报数据 |
| | | if (!resCd.equals(dataResChildrenPo.getRes_cd())) { |
| | | // if (!resCd.equals(dataResChildrenPo.getRes_cd())) { |
| | | //请求预报水位 |
| | | List<List<String>> future = hsybService.getFuture(dataResChildrenPo.getRes_cd()); |
| | | resCd = dataResChildrenPo.getRes_cd(); |
| | |
| | | //循环预测请求 |
| | | nkyService.hstPredict(arimaPredictReqPo); |
| | | } |
| | | } |
| | | // } |
| | | }); |
| | | |
| | | |
| | | |
| | | }else if (type.equals("3") || type.equals("4") || type.equals("5")){ |
| | | collect.forEach(dataResChildrenPo -> { |
| | | //所有水库请求预报数据 |
| | | if (!resCd.equals(dataResChildrenPo.getRes_cd())) { |
| | | // if (!resCd.equals(dataResChildrenPo.getRes_cd())) { |
| | | //请求预报水位 |
| | | List<List<String>> future = hsybService.getFuture(dataResChildrenPo.getRes_cd()); |
| | | resCd = dataResChildrenPo.getRes_cd(); |
| | |
| | | HstPredictReqPo arimaPredictReqPoZ = new HstPredictReqPo(dataResChildrenPo, "5",po); |
| | | nkyService.hstPredict(arimaPredictReqPoZ); |
| | | } |
| | | } |
| | | // } |
| | | }); |
| | | } |
| | | resCd = ""; |