| @@ -1176,7 +1176,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| List<Integer> integers = new ArrayList<>(); | List<Integer> integers = new ArrayList<>(); | ||||
| if(array != null && array.size() > 0){ | if(array != null && array.size() > 0){ | ||||
| for (int i=0;i<array.size();i++){ | for (int i=0;i<array.size();i++){ | ||||
| JSONObject jsonObject = array.getJSONObject(0); | |||||
| JSONObject jsonObject = array.getJSONObject(i); | |||||
| String increasingProportion = jsonObject.getString("increasingProportion"); | String increasingProportion = jsonObject.getString("increasingProportion"); | ||||
| if(StringUtils.isNotBlank(increasingProportion) && !"0".equals(increasingProportion)){ | if(StringUtils.isNotBlank(increasingProportion) && !"0".equals(increasingProportion)){ | ||||
| int ratio = new BigDecimal(increasingProportion).multiply(new BigDecimal(100)).intValue(); | int ratio = new BigDecimal(increasingProportion).multiply(new BigDecimal(100)).intValue(); | ||||
| @@ -1199,9 +1199,6 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| priceArrs[i] = priceD.setScale(0, RoundingMode.HALF_EVEN).longValue(); | priceArrs[i] = priceD.setScale(0, RoundingMode.HALF_EVEN).longValue(); | ||||
| } | } | ||||
| } | } | ||||
| logger.info("adjustRatio------[]"+integers.toString()); | |||||
| logger.info("priceArrs-----[]"+priceArrs.toString()); | |||||
| }else{ | }else{ | ||||
| return new ArrayList<>(); | return new ArrayList<>(); | ||||
| } | } | ||||