| @@ -1,5 +1,6 @@ | |||||
| package com.iformall.service.impl; | package com.iformall.service.impl; | ||||
| import com.alibaba.fastjson.JSON; | |||||
| import com.alibaba.fastjson.JSONArray; | import com.alibaba.fastjson.JSONArray; | ||||
| import com.alibaba.fastjson.JSONObject; | import com.alibaba.fastjson.JSONObject; | ||||
| import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | ||||
| @@ -1228,6 +1229,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| a = new BigDecimal(rentPrice1).divide(new BigDecimal(100)); | a = new BigDecimal(rentPrice1).divide(new BigDecimal(100)); | ||||
| } | } | ||||
| String otherRentPriceInfo1 = wxRentContract.getOtherRentPriceInfo(); | String otherRentPriceInfo1 = wxRentContract.getOtherRentPriceInfo(); | ||||
| logger.info("why----error---"+otherRentPriceInfo1); | |||||
| if(StringUtils.isNotBlank(otherRentPriceInfo1)){ | if(StringUtils.isNotBlank(otherRentPriceInfo1)){ | ||||
| JSONObject jsonObject = JSONObject.parseObject(otherRentPriceInfo1); | JSONObject jsonObject = JSONObject.parseObject(otherRentPriceInfo1); | ||||
| String siteMoney1 = jsonObject.getString("siteMoney"); | String siteMoney1 = jsonObject.getString("siteMoney"); | ||||
| @@ -1259,7 +1261,8 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| resultMap.put("siteMoney",new BigDecimal(siteMoney).divide(new BigDecimal(100)).toString()); | resultMap.put("siteMoney",new BigDecimal(siteMoney).divide(new BigDecimal(100)).toString()); | ||||
| resultMap.put("facilityMoney",new BigDecimal(facilityMoney).divide(new BigDecimal(100)).toString()); | resultMap.put("facilityMoney",new BigDecimal(facilityMoney).divide(new BigDecimal(100)).toString()); | ||||
| resultMap.put("administratorMoney",new BigDecimal(administratorMoney).divide(new BigDecimal(100)).toString()); | resultMap.put("administratorMoney",new BigDecimal(administratorMoney).divide(new BigDecimal(100)).toString()); | ||||
| return resultMap.toString(); | |||||
| return JSON.toJSONString(resultMap); | |||||
| } | } | ||||