| | |
| | | |
| | | //正常溢洪道 |
| | | List<TbAttResRsbNorspi> tbAttResRsbNorspiList = (List<TbAttResRsbNorspi>) resRsbNorsipiVerspiMionitorDetailByGuid.get("tbAttResRsbNorspiList"); |
| | | //泄洪洞 |
| | | List<TbAttResRsbVerspi> tbAttResRsbVerspiList = (List<TbAttResRsbVerspi>) resRsbNorsipiVerspiMionitorDetailByGuid.get("tbAttResRsbVerspiList"); |
| | | //非常溢洪道 |
| | | List<TbAttResRsbVerspi> tbAttResRsbVerspiList = (List<TbAttResRsbVerspi>) resRsbNorsipiVerspiMionitorDetailByGuid.get("tbAttResRsbVerspiList"); |
| | | //泄洪洞 |
| | | List<TbAttResRsbSpillway> tbAttResRsbSpillwayList = (List<TbAttResRsbSpillway>) resRsbNorsipiVerspiMionitorDetailByGuid.get("tbAttResRsbSpillwayList"); |
| | | |
| | | |
| | |
| | | |
| | | this.protectCity = tbAttResEngBene.getCity(); |
| | | |
| | | double person = tbAttResEngBene.getFlControlPerson() / 1000.0; |
| | | double person = tbAttResEngBene.getFlControlPerson() / 10000.0; |
| | | |
| | | |
| | | this.protectPersonLand = |
| | |
| | | |
| | | List<String> protectList = new ArrayList<>(); |
| | | |
| | | if (StringUtil.isNotBlank(railway)) { |
| | | if (StringUtil.isNotBlank(railway) && !railway.equals("无")) { |
| | | protectList.add(railway); |
| | | } |
| | | |
| | | if (StringUtil.isNotBlank(highway)) { |
| | | if (StringUtil.isNotBlank(highway)&& !highway.equals("无")) { |
| | | protectList.add(highway); |
| | | } |
| | | |
| | | if (StringUtil.isNotBlank(importCommunication)) { |
| | | if (StringUtil.isNotBlank(importCommunication)&& !importCommunication.equals("无")) { |
| | | protectList.add(importCommunication); |
| | | } |
| | | |
| | | if (StringUtil.isNotBlank(importFactory)) { |
| | | if (StringUtil.isNotBlank(importFactory)&& !importFactory.equals("无")) { |
| | | protectList.add(importFactory); |
| | | } |
| | | this.protectThings = ""; |
| | |
| | | if (StringUtils.isNotBlank(tbAttResEngBene.getIrrObject())) { |
| | | this.economicBenefit = |
| | | StringUtil.format("水库为{}提供灌溉用水,设计灌溉面积{}万亩,有效灌溉面积{}万亩,多年平均灌溉水量{}万m³。", |
| | | tbAttResEngBene.getIrrObject(), String.format("%.2f", tbAttResEngBene.getDesIrrArea() / 1000), String.format("%.2f", tbAttResEngBene.getChecIrrArea() / 1000), tbAttResEngBene.getMoyearIrrAvg()); |
| | | tbAttResEngBene.getIrrObject(), String.format("%.2f", tbAttResEngBene.getDesIrrArea() / 10000), String.format("%.2f", tbAttResEngBene.getChecIrrArea() / 10000), tbAttResEngBene.getMoyearIrrAvg()); |
| | | } |
| | | |
| | | if (StringUtil.isNotBlank(tbAttResEngBene.getSupplyObject())) { |
| | | if (StringUtils.isNotBlank(this.economicBenefit)) { |
| | | this.economicBenefit = this.economicBenefit + |
| | | StringUtil.format("此外,水库为{}{}万人提供生活用水,年均供水量{}万m³。", |
| | | tbAttResEngBene.getSupplyObject(),String.format("%.2f", Double.parseDouble(tbAttResEngBene.getSupplyPopulation())/ 1000), tbAttResEngBene.getMoyearSupplyAvg()); |
| | | tbAttResEngBene.getSupplyObject(),String.format("%.2f", Double.parseDouble(tbAttResEngBene.getSupplyPopulation())/ 10000), tbAttResEngBene.getMoyearSupplyAvg()); |
| | | } else { |
| | | //无灌溉有供水直接介绍供水 |
| | | this.economicBenefit = |
| | | StringUtil.format("水库为{}{}万人提供生活用水,年均供水量{}万m³。", |
| | | tbAttResEngBene.getSupplyObject(),String.format("%.2f", Double.parseDouble(tbAttResEngBene.getSupplyPopulation())/ 1000), tbAttResEngBene.getMoyearSupplyAvg()); |
| | | tbAttResEngBene.getSupplyObject(),String.format("%.2f", Double.parseDouble(tbAttResEngBene.getSupplyPopulation())/ 10000), tbAttResEngBene.getMoyearSupplyAvg()); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | //key值表示其他 |
| | | if (typeKey.equals("9") || Integer.parseInt(typeKey) == 9 || typeKey.equals("其他")) { |
| | | if (typeKey.equals("9") || typeKey.equals("其他") || Integer.parseInt(typeKey) == 9 ) { |
| | | text = explain; |
| | | }else{ |
| | | switch (enumName) { |