瀏覽代碼

rent

release_toaliyun_real
xhxu 5 年之前
父節點
當前提交
1ac6fde51f
共有 1 個文件被更改,包括 3 次插入 和 3 次删除
  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 查看文件

@@ -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) { public List<WxBillRent> buildRentJinmao(Long userId, WxRentContract wxRentContract, int receivePeriod, Integer lease, Date rentalStartDate, Long price, Integer isPreview, boolean saveDb) {
int size = 0; int size = 0;
long[] priceArrs = null; 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(); String adjustRatio = wxRentContract.getAdjustRatio();
JSONArray array = JSONArray.parseArray(adjustRatio); JSONArray array = JSONArray.parseArray(adjustRatio);
@@ -1198,6 +1196,8 @@ public class WxRentContractServiceImpl implements WxRentContractService {
priceArrs[i] = priceD.setScale(0, RoundingMode.HALF_EVEN).longValue(); priceArrs[i] = priceD.setScale(0, RoundingMode.HALF_EVEN).longValue();
} }
} }
}else{
return new ArrayList<>();
} }


int month = 12; int month = 12;


Loading…
取消
儲存