| | |
| | | } else { |
| | | BigDecimal w = (BigDecimal) map.get(i).get("W"); |
| | | double W = w.doubleValue(); |
| | | if (W == 0.000) { |
| | | texta += "蓄水量暂无数据、"; |
| | | } else { |
| | | DecimalFormat df = new DecimalFormat("#0.00"); |
| | | texta += "蓄水量" + df.format(W) + "百万立方米、"; |
| | | } |
| | | } |
| | | if (map.get(i).get("OTQ") == null) { |
| | | texta += "出库流量暂无数据;"; |
| | |
| | | } else { |
| | | BigDecimal w = (BigDecimal) map.get(i).get("W"); |
| | | double W = w.doubleValue(); |
| | | if (W == 0.000) { |
| | | texth += "蓄水量暂无数据、"; |
| | | } else { |
| | | DecimalFormat df = new DecimalFormat("#0.00"); |
| | | texth += "蓄水量" + df.format(W) + "百万立方米、"; |
| | | } |
| | | } |
| | | if (map.get(i).get("OTQ") == null) { |
| | | texth += "出库流量暂无数据。"; |
| | |
| | | } else { |
| | | BigDecimal w = (BigDecimal) map.get(i).get("W"); |
| | | double W = w.doubleValue(); |
| | | if (W == 0.000) { |
| | | texta += "蓄水量暂无数据、"; |
| | | } else { |
| | | DecimalFormat df = new DecimalFormat("#0.00"); |
| | | texta += "蓄水量" + df.format(W) + "百万立方米、"; |
| | | } |
| | | } |
| | | if (map.get(i).get("OTQ") == null) { |
| | | texta += "出库流量暂无数据;"; |
| | |
| | | } else { |
| | | BigDecimal w = (BigDecimal) map.get(i).get("W"); |
| | | double W = w.doubleValue(); |
| | | if (W == 0.000) { |
| | | texth += "蓄水量暂无数据、"; |
| | | } else { |
| | | DecimalFormat df = new DecimalFormat("#0.00"); |
| | | texth += "蓄水量" + df.format(W) + "百万立方米、"; |
| | | } |
| | | } |
| | | if (map.get(i).get("OTQ") == null) { |
| | | texth += "出库流量暂无数据。"; |
| | |
| | | } else { |
| | | BigDecimal w = (BigDecimal) map.get(i).get("W"); |
| | | double W = w.doubleValue(); |
| | | if (W == 0.000) { |
| | | texta += "蓄水量暂无数据、"; |
| | | } else { |
| | | DecimalFormat df = new DecimalFormat("#0.00"); |
| | | texta += "蓄水量" + df.format(W) + "百万立方米、"; |
| | | } |
| | | } |
| | | if (map.get(i).get("OTQ") == null) { |
| | | texta += "出库流量暂无数据;"; |
| | |
| | | } else { |
| | | BigDecimal w = (BigDecimal) map.get(i).get("W"); |
| | | double W = w.doubleValue(); |
| | | if (W == 0.000) { |
| | | texth += "蓄水量暂无数据、"; |
| | | } else { |
| | | DecimalFormat df = new DecimalFormat("#0.00"); |
| | | texth += "蓄水量" + df.format(W) + "百万立方米、"; |
| | | } |
| | | } |
| | | if (map.get(i).get("OTQ") == null) { |
| | | texth += "出库流量暂无数据。"; |
| | |
| | | // //获取涨幅最大的信息 |
| | | // } |
| | | if (beginTime.equals(endTime)) { |
| | | } |
| | | else { |
| | | } else { |
| | | if (m1.size() != 0) { |
| | | Object maxKey = getMaxKey(m1); |
| | | String s1 = m1.get(maxKey).toString(); |
| | |
| | | if (RZ == 0) { |
| | | texta += "库水位暂无数据、"; |
| | | } else { |
| | | texta += "库水位" + RZ + "米、"; |
| | | texta += "库水位" + dfc.format(RZ) + "米、"; |
| | | } |
| | | if (v < 0) { |
| | | texta += "比昨日8时下降" + Math.abs(v) + "米、"; |
| | |
| | | if (RZ == 0) { |
| | | texth += "库水位暂无数据、"; |
| | | } else { |
| | | texth += "库水位" + RZ + "米、"; |
| | | texth += "库水位" + dfc.format(RZ) + "米、"; |
| | | } |
| | | if (v < 0) { |
| | | texth += "比昨日8时下降" + Math.abs(v) + "米、"; |
| | |
| | | if (RZ == 0) { |
| | | texta += "库水位暂无数据、"; |
| | | } else { |
| | | texta += "库水位" + RZ + "米、"; |
| | | texta += "库水位" + dfc.format(RZ) + "米、"; |
| | | } |
| | | if (v < 0) { |
| | | texta += "比昨日8时下降" + Math.abs(v) + "米、"; |
| | |
| | | if (RZ == 0) { |
| | | texth += "库水位暂无数据、"; |
| | | } else { |
| | | texth += "库水位" + RZ + "米、"; |
| | | texth += "库水位" + dfc.format(RZ) + "米、"; |
| | | } |
| | | if (v < 0) { |
| | | texth += "比昨日8时下降" + Math.abs(v) + "米、"; |
| | |
| | | if (RZ == 0) { |
| | | texta += "库水位暂无数据、"; |
| | | } else { |
| | | texta += "库水位" + RZ + "米、"; |
| | | texta += "库水位" + dfc.format(RZ) + "米、"; |
| | | } |
| | | if (v < 0) { |
| | | texta += "比昨日8时下降" + Math.abs(v) + "米、"; |
| | |
| | | if (RZ == 0) { |
| | | texth += "库水位暂无数据、"; |
| | | } else { |
| | | texth += "库水位" + RZ + "米、"; |
| | | texth += "库水位" + dfc.format(RZ) + "米、"; |
| | | } |
| | | if (v < 0) { |
| | | texth += "比昨日8时下降" + Math.abs(v) + "米、"; |