| | |
| | | tableMap.put("midFloodEnd", mfe); |
| | | tableMap.put("afterFloodStart", afs); |
| | | tableMap.put("afterFloodEnd", afe); |
| | | tableMap.put("desFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getDesFloodFlowMax()==null?"":tbAttResStagChar.getDesFloodFlowMax()); |
| | | tableMap.put("checFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getChecFloodFlowMax()==null?"":tbAttResStagChar.getChecFloodFlowMax()); |
| | | tableMap.put("desFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getDesFloodFlowMax()==null?"":String.format("%.2f",tbAttResStagChar.getDesFloodFlowMax())); |
| | | tableMap.put("checFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getChecFloodFlowMax()==null?"":String.format("%.2f",tbAttResStagChar.getChecFloodFlowMax()));; |
| | | |
| | | String mainDamType = ""; |
| | | String mainDamMainFoundation = ""; |
| | |
| | | tableMap.put("mainUpDamProtectType", mainUpDamProtectType); |
| | | tableMap.put("mainDownDamProtectType", mainDownDamProtectType); |
| | | tableMap.put("damMainBodyType", damMainBodyType); |
| | | tableMap.put("damMainBodyTopElevation", damMainBodyTopElevation); |
| | | tableMap.put("damMainBodyTopElevation", null !=damMainBodyTopElevation?String.format("%.2f",Double.parseDouble(damMainBodyTopElevation)):""); |
| | | tableMap.put("damMainDrainType", damMainDrainType); |
| | | tableMap.put("mainDamBodyType", mainDamBodyType); |
| | | int subDamNumNew = tbAttResWaterBlockList.size() - 1; |
| | |
| | | tableMap.put("protect", String.join("、", protectList)); |
| | | } |
| | | double person = 0; |
| | | if (tbAttResEngBene !=null && tbAttResEngBene.getFlControlPerson() != null) { |
| | | if (tbAttResEngBene !=null && tbAttResEngBene.getFlControlPerson() != null && tbAttResEngBene.getFlControlPerson() > 0 ) { |
| | | person = tbAttResEngBene.getFlControlPerson() / 10000.0; |
| | | tableMap.put("flControlPerson", WordUtil.removeTrailingZero(String.format("%.2f", person))); |
| | | } else { |
| | | tableMap.put("flControlPerson", ""); |
| | | } |
| | | tableMap.put("flControlLand", tbAttResEngBene==null?"":tbAttResEngBene.getFlControlLand()==null?"": |
| | | tableMap.put("flControlLand", tbAttResEngBene==null?"":tbAttResEngBene.getFlControlLand()==null || tbAttResEngBene.getFlControlLand() <= 0?"": |
| | | WordUtil.removeTrailingZero(String.format("%.2f", tbAttResEngBene.getFlControlLand() / 10000))); |
| | | tableMap.put("irrObject", tbAttResEngBene==null?"":tbAttResEngBene.getIrrObject()==null?"":tbAttResEngBene.getIrrObject()); |
| | | tableMap.put("moyearIrrAvg", tbAttResEngBene==null?"":tbAttResEngBene.getMoyearIrrAvg() == null?"": |