瀏覽代碼

fix

release_toaliyun_real
winter 1 年之前
父節點
當前提交
c1296f60c8
共有 1 個檔案被更改,包括 6 行新增0 行删除
  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 查看文件

@@ -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");
}
}
}


Loading…
取消
儲存