Pārlūkot izejas kodu

fix

release_toaliyun_real
winter pirms 1 gada
vecāks
revīzija
c1296f60c8
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. +6
    -0
      mallinkService/src/main/java/com/iformall/service/helper/WxEnergyHelper.java

+ 6
- 0
mallinkService/src/main/java/com/iformall/service/helper/WxEnergyHelper.java Parādīt failu

@@ -101,6 +101,8 @@ public class WxEnergyHelper {
BigDecimal buildingArea = buildingAreaMap.get(Long.parseLong(b1));
if (null != buildingArea) {
formula = formula.replaceAll("#buildingArea_"+Long.parseLong(b1)+"#", buildingArea.toPlainString());
}else {
formula = formula.replaceAll("#buildingArea_"+Long.parseLong(b1)+"#", "0");
}
}
}
@@ -115,6 +117,8 @@ public class WxEnergyHelper {
BigDecimal floorarea = floorAreaMap.get(Long.parseLong(b1));
if (null != floorarea) {
formula = formula.replaceAll("#floorArea_"+Long.parseLong(b1)+"#", floorarea.toPlainString());
}else {
formula = formula.replaceAll("#floorArea_"+Long.parseLong(b1)+"#", "0");
}
}
@@ -130,6 +134,8 @@ public class WxEnergyHelper {
BigDecimal mu = meterNumberMap.get(Long.parseLong(b1));
if (null != mu ) {
formula = formula.replaceAll("#meter_"+Long.parseLong(b1)+"#", mu.toPlainString());
}else {
formula = formula.replaceAll("#meter_"+Long.parseLong(b1)+"#", "0");
}
}
}


Notiek ielāde…
Atcelt
Saglabāt