Browse Source

rent

release_toaliyun_real
xhxu 4 years ago
parent
commit
1ac6fde51f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 3
- 3
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java View File

@@ -1170,9 +1170,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
public List<WxBillRent> buildRentJinmao(Long userId, WxRentContract wxRentContract, int receivePeriod, Integer lease, Date rentalStartDate, Long price, Integer isPreview, boolean saveDb) {
int size = 0;
long[] priceArrs = null;
List<Map<String, Object>> shopInfos = new ArrayList<>();
if (wxRentContract.getRentShopType().equals(EnumRentShopType.SHOP.getCode())
&& wxRentContract.getType().equals(EnumRentContractType.RENT_BY_AREA.getCode())){
if (wxRentContract.getType().equals(EnumRentContractType.RENT_BY_AREA.getCode())){

String adjustRatio = wxRentContract.getAdjustRatio();
JSONArray array = JSONArray.parseArray(adjustRatio);
@@ -1198,6 +1196,8 @@ public class WxRentContractServiceImpl implements WxRentContractService {
priceArrs[i] = priceD.setScale(0, RoundingMode.HALF_EVEN).longValue();
}
}
}else{
return new ArrayList<>();
}

int month = 12;


Loading…
Cancel
Save