xhxu 4 лет назад
Родитель
Сommit
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;


Загрузка…
Отмена
Сохранить