| | |
| | | String condition = ""; |
| | | if ("晴".equals(text)) { |
| | | condition = "100"; |
| | | } else if ("雾".equals(text)) { |
| | | condition = "90"; |
| | | } else if ("多云".equals(text)) { |
| | | condition = "80"; |
| | | } else if ("阴".equals(text)) { |
| | | } else if ("霾".equals(text)) { |
| | | condition = "70"; |
| | | } else if ("阴".equals(text) || "扬沙".equals(text) || "浮尘".equals(text) || "".equals(text)) { |
| | | condition = "60"; |
| | | } else if ("雷阵雨".equals(text) || "阵雨".equals(text)) { |
| | | } else if ("阵雨".equals(text)) { |
| | | condition = "45"; |
| | | } else if ("雷阵雨".equals(text)) { |
| | | condition = "40"; |
| | | } else if ("雷阵雨转小雨".equals(text) || "阵雨转小雨".equals(text)) { |
| | | condition = "30"; |
| | | } else if ("小雨".equals(text)) { |
| | | condition = "20"; |
| | | } else if ("雨".equals(text)) { |
| | | condition = "10"; |
| | | } else if ("雷阵雨转中雨".equals(text)) { |
| | | condition = "5"; |
| | | } else if ("雷阵雨转大雨".equals(text)) { |
| | | condition = "4"; |
| | | } else if ("中雨".equals(text) || "大雨".equals(text) || "暴雨".equals(text) |
| | | || "小雪".equals(text) || "中雪".equals(text) || "大雪".equals(text) |
| | | || "雨夹雪".equals(text) || "雨夹雪(伴有冰雹)".equals(text) || "暴雪".equals(text) |
| | | ) { |
| | | condition = "0"; |
| | | } else { |
| | | condition = "50"; |
| | |
| | | map1.put("times", times); |
| | | map1.put("time", hour); |
| | | List<Map<String, Object>> O3List = new ArrayList<>(); |
| | | List<Map<String, Object>> beamList=new ArrayList<>(); |
| | | List<Map<String, Object>> beamList = new ArrayList<>(); |
| | | if (times.size() != 0) { |
| | | O3List = aqiMapper.getO3(map1); |
| | | if (O3List.size() == 0) { |