소스 검색

[物业合同][修改][下载]

release_toaliyun_real
gongbiao 7 년 전
부모
커밋
691059fbb9
1개의 변경된 파일15개의 추가작업 그리고 8개의 파일을 삭제
  1. +15
    -8
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 15
- 8
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java 파일 보기

@@ -1407,8 +1407,8 @@ public class WxRentContractServiceImpl implements WxRentContractService {
result.put("unitPriceRentUpper", PriceUtil.digitUppercase(unitPrice)); result.put("unitPriceRentUpper", PriceUtil.digitUppercase(unitPrice));
} else { } else {
result.put("unitPriceRent", 0); result.put("unitPriceRent", 0);
result.put("priceRentUpper", "0");
result.put("unitPriceRentUpper", "0");
result.put("priceRentUpper", PriceUtil.digitUppercase(0));
result.put("unitPriceRentUpper", PriceUtil.digitUppercase(0));
} }


//租赁保证金 //租赁保证金
@@ -1460,12 +1460,19 @@ public class WxRentContractServiceImpl implements WxRentContractService {
double priceProperty = new BigDecimal(wxPropertyContract.get("price").toString()) double priceProperty = new BigDecimal(wxPropertyContract.get("price").toString())
.divide(new BigDecimal(100)).setScale(2, RoundingMode.HALF_EVEN).doubleValue(); .divide(new BigDecimal(100)).setScale(2, RoundingMode.HALF_EVEN).doubleValue();
result.put("priceProperty", priceProperty); result.put("priceProperty", priceProperty);
double unitPriceProperty = new BigDecimal(wxPropertyContract.get("price").toString())
.divide(new BigDecimal(wxRentContract.getRentArea()), 2, RoundingMode.HALF_EVEN)
.divide(new BigDecimal(100)).setScale(2, RoundingMode.HALF_EVEN).doubleValue();
result.put("unitPriceProperty", unitPriceProperty);
result.put("pricePropertyUpper", PriceUtil.digitUppercase(priceProperty));
result.put("unitPricePropertyUpper", PriceUtil.digitUppercase(unitPriceProperty));
if (!wxRentContract.getRentArea().equals("0")) {
double unitPriceProperty = new BigDecimal(wxPropertyContract.get("price").toString())
.divide(new BigDecimal(wxRentContract.getRentArea()), 2, RoundingMode.HALF_EVEN)
.divide(new BigDecimal(100)).setScale(2, RoundingMode.HALF_EVEN).doubleValue();
result.put("unitPriceProperty", unitPriceProperty);
result.put("pricePropertyUpper", PriceUtil.digitUppercase(priceProperty));
result.put("unitPricePropertyUpper", PriceUtil.digitUppercase(unitPriceProperty));
} else {
result.put("unitPriceProperty", 0);
result.put("pricePropertyUpper", PriceUtil.digitUppercase(0));
result.put("unitPricePropertyUpper", PriceUtil.digitUppercase(0));
}

//首期物业费 //首期物业费
Calendar instance = Calendar.getInstance(); Calendar instance = Calendar.getInstance();
instance.setTime(wxRentContract.getRentalStartDate()); instance.setTime(wxRentContract.getRentalStartDate());


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