| | |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.doumee.core.constants.ResponseStatus; |
| | | import com.doumee.core.exception.BusinessException; |
| | | import com.doumee.dao.business.web.request.LocaltionDTO; |
| | | import com.doumee.dao.business.web.response.MiniProgrammeDTO; |
| | | import com.doumee.dao.system.SystemDictMapper; |
| | | import com.doumee.dao.system.model.SystemDict; |
| | |
| | | try { |
| | | if(miniProgrammeDTO.getParkLatLngList()!=null){ |
| | | try { |
| | | TypeReference typeReference = new TypeReference<List<Map<String,BigDecimal>>>(){}; |
| | | List<Map<String,BigDecimal>> response = JSONObject.parseObject(miniProgrammeDTO.getParkLatLngList(), typeReference.getType()); |
| | | TypeReference typeReference = new TypeReference<List<LocaltionDTO>>(){}; |
| | | List<LocaltionDTO> response = JSONObject.parseObject(miniProgrammeDTO.getParkLatLngList(), typeReference.getType()); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"运营区域参数解析有误!"); |