소스 검색

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


불러오는 중...
취소
저장