| | |
| | | try { |
| | | if(miniProgrammeDTO.getParkLatLngList()!=null){ |
| | | try { |
| | | TypeReference typeReference = new TypeReference<List<List<BigDecimal>>>(){}; |
| | | List<List<BigDecimal>> response = JSONObject.parseObject(miniProgrammeDTO.getParkLatLngList(), typeReference.getType()); |
| | | TypeReference typeReference = new TypeReference<List<Map<String,BigDecimal>>>(){}; |
| | | List<Map<String,BigDecimal>> response = JSONObject.parseObject(miniProgrammeDTO.getParkLatLngList(), typeReference.getType()); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"运营区域参数解析有误!"); |