| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.apache.jasper.compiler.JspUtil;
|
| | | import org.dom4j.Element;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.util.ObjectUtils;
|
| | |
| | | }
|
| | |
|
| | | String ac = parameters.get("cityCode").toString();
|
| | | if(name.equals("沧州市")){
|
| | | ac="130900";
|
| | | }
|
| | | List<Map<String, Object>> aqiList = hangzhouAqiMapper.getAqi(parameters);
|
| | | if (aqiList.size() == 0) {
|
| | | parameters.put("cityCode", code);
|
| | |
| | | } else {
|
| | | params.put("areaCode", Integer.valueOf(ac));
|
| | | }
|
| | | List<MonitorPoint> monitorList = monitorPointMapper.getMonitorList(params);
|
| | |
|
| | | List<MonitorPoint> monitorList = monitorPointMapper.getMonitorList(params);
|
| | | List<Integer> pointList = new ArrayList<>();
|
| | | for (MonitorPoint point : monitorList) {
|
| | | Integer pointId = point.getId();
|
| | |
| | | }
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | }
|