| | |
| | | return; |
| | | } |
| | | for (Map.Entry<String, MdkScheduleRespDTO> entry : resultMap.entrySet()) { |
| | | if (CommonConstant.MDK_STATUS_100.equals(entry.getValue().getStatusCode())) { |
| | | if (!CommonConstant.MDK_STATUS_100.equals(entry.getValue().getStatusCode())) { |
| | | logger.info("调度结果异常,STATUS=" + entry.getValue().getStatusCode()); |
| | | continue; |
| | | } |
| | |
| | | String runAdvice = entry.getValue().getResult().get("RunAdvice").toString(); |
| | | saveScheduleSuggest("宏昌建议调整量", runAdvice, scheduleObj, scheduleTime); |
| | | } else if (entry.getKey().equals(CODE01)) { |
| | | String scheduleObj = schemeMap.get(CODE05).getScheduleObj(); |
| | | String scheduleObj = schemeMap.get(CODE01).getScheduleObj(); |
| | | String advice = entry.getValue().getResult().get("advice").toString(); |
| | | saveScheduleSuggest("氮气预警", advice, scheduleObj, scheduleTime); |
| | | } |