From 9d67b4462bf494a0b25c1b40be8198f71666131e Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 18 二月 2025 14:39:26 +0800 Subject: [PATCH] jtt808初始化 --- server/services/src/main/java/com/doumee/service/system/impl/SystemDictDataServiceImpl.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/services/src/main/java/com/doumee/service/system/impl/SystemDictDataServiceImpl.java b/server/services/src/main/java/com/doumee/service/system/impl/SystemDictDataServiceImpl.java index 9dc3936..94b3265 100644 --- a/server/services/src/main/java/com/doumee/service/system/impl/SystemDictDataServiceImpl.java +++ b/server/services/src/main/java/com/doumee/service/system/impl/SystemDictDataServiceImpl.java @@ -5,6 +5,7 @@ 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; @@ -143,8 +144,8 @@ 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(),"杩愯惀鍖哄煙鍙傛暟瑙f瀽鏈夎锛�"); -- Gitblit v1.9.3