| | |
| | | } |
| | | |
| | | this.subDamInfo = GenerateDamInfo(subDamName, subDam); |
| | | }else{ |
| | | }else if (damCount == 1){ |
| | | TbAttResWaterBlock mainDam = tbAttResWaterBlockList.get(0); |
| | | //第一个就是主坝 |
| | | this.mainDamInfo = GenerateDamInfo("主坝", mainDam); |
| | |
| | | } |
| | | |
| | | //工程等别 |
| | | this.engGrad = tbAttResBase.getEngGrad(); |
| | | if (tbAttResBase.getEngGrad() != null){ |
| | | this.engGrad = tbAttResBase.getEngGrad(); |
| | | } |
| | | |
| | | //开工时间 (2022年9月) |
| | | this.startTime = new SimpleDateFormat("yyyy年MM月").format(tbAttResBase.getStartTime()); |
| | | if (tbAttResBase.getStartTime() != null){ |
| | | //开工时间 (2022年9月) |
| | | this.startTime = new SimpleDateFormat("yyyy年MM月").format(tbAttResBase.getStartTime()); |
| | | } |
| | | |
| | | //蓄水时间(2022年9月) |
| | | this.waterStorageTm = new SimpleDateFormat("yyyy年MM月").format(tbAttResBase.getWaterStorageTm()); |
| | | if (tbAttResBase.getWaterStorageTm() != null){ |
| | | //蓄水时间(2022年9月) |
| | | this.waterStorageTm = new SimpleDateFormat("yyyy年MM月").format(tbAttResBase.getWaterStorageTm()); |
| | | } |
| | | |
| | | } |
| | | |
| | | private void formatTbAttResStagChar(TbAttResStagChar tbAttResStagChar) { |
| | |
| | | } |
| | | |
| | | this.protectCity = tbAttResEngBene.getCity(); |
| | | |
| | | double person = tbAttResEngBene.getFlControlPerson() / 1000.0; |
| | | |
| | | |
| | | this.protectPersonLand = |
| | | StringUtil.format("{}万人口、{}万亩耕地", String.format("%.2f",tbAttResEngBene.getFlControlPerson()/1000) , String.format("%.2f", tbAttResEngBene.getFlControlLand() / 1000)); |
| | | StringUtil.format("{}万人口、{}万亩耕地", String.format("%.2f",person) , String.format("%.2f", tbAttResEngBene.getFlControlLand() / 1000)); |
| | | ////铁路、公路、管线、企业几个依次罗列,超过三个列出第二个后为“XX等”,后面不需罗列 |
| | | |
| | | String railway = tbAttResEngBene.getRailway(); |
| | |
| | | if (tbAttResSafetyMonitor ==null){ |
| | | return; |
| | | } |
| | | |
| | | String time = new SimpleDateFormat("yyyy年MM月").format(tbAttResSafetyMonitor.getSafetyAppraisalTime()); |
| | | String time = ""; |
| | | if (tbAttResSafetyMonitor.getSafetyAppraisalTime() != null){ |
| | | time = new SimpleDateFormat("yyyy年MM月").format(tbAttResSafetyMonitor.getSafetyAppraisalTime()); |
| | | } |
| | | String type = SafetyAppraisalTypeEnum.find(tbAttResSafetyMonitor.getSafetyAppraisalResult()).getLabel(); |
| | | String surveyProblem = tbAttResSafetyMonitor.getSurveyProblem(); |
| | | //(若一类坝,不介绍问题,二、三类坝介绍) |