| @@ -1187,7 +1187,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| long[] priceList = computePrice(rentInfo, wxRentContract).get(0); | long[] priceList = computePrice(rentInfo, wxRentContract).get(0); | ||||
| long sum = Arrays.stream(priceList).sum(); | long sum = Arrays.stream(priceList).sum(); | ||||
| int size = rentInfoArray.size(); | int size = rentInfoArray.size(); | ||||
| for (int i = 0;i < size;) { | |||||
| for (int i = 0;i < size;i++) { | |||||
| BigDecimal a=new BigDecimal(0),b=new BigDecimal(0),c=new BigDecimal(0),d=new BigDecimal(0); | BigDecimal a=new BigDecimal(0),b=new BigDecimal(0),c=new BigDecimal(0),d=new BigDecimal(0); | ||||
| JSONObject rentInfoObject = rentInfoArray.getJSONObject(i); | JSONObject rentInfoObject = rentInfoArray.getJSONObject(i); | ||||
| @@ -1231,6 +1231,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| String otherRentPriceInfo1 = wxRentContract.getOtherRentPriceInfo(); | String otherRentPriceInfo1 = wxRentContract.getOtherRentPriceInfo(); | ||||
| logger.info("why----error---"+otherRentPriceInfo1); | logger.info("why----error---"+otherRentPriceInfo1); | ||||
| if(StringUtils.isNotBlank(otherRentPriceInfo1)){ | if(StringUtils.isNotBlank(otherRentPriceInfo1)){ | ||||
| // JSONObject jsonObject = new JSONObject(otherRentPriceInfo1); | |||||
| JSONObject jsonObject = JSONObject.parseObject(otherRentPriceInfo1); | JSONObject jsonObject = JSONObject.parseObject(otherRentPriceInfo1); | ||||
| String siteMoney1 = jsonObject.getString("siteMoney"); | String siteMoney1 = jsonObject.getString("siteMoney"); | ||||
| if(StringUtils.isNotBlank(siteMoney1)){ | if(StringUtils.isNotBlank(siteMoney1)){ | ||||