From fe6bd976d42a0fc35c119afc2cb3f4ec3398e7f7 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期六, 01 三月 2025 14:32:18 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/SystemUserServiceImpl.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/SystemUserServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/SystemUserServiceImpl.java index 7faf0ca..4ae36d2 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/SystemUserServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/SystemUserServiceImpl.java @@ -6,14 +6,13 @@ import com.panzhihua.common.utlis.StringUtils; import com.panzhihua.sangeshenbian.dao.SystemUserMapper; import com.panzhihua.sangeshenbian.model.entity.SystemUser; +import com.panzhihua.sangeshenbian.model.vo.RegionVO; import com.panzhihua.sangeshenbian.service.ISystemUserService; import com.panzhihua.sangeshenbian.warpper.SystemUserList; import com.panzhihua.sangeshenbian.warpper.SystemUserListVo; import org.springframework.stereotype.Service; -import java.util.ArrayList; import java.util.List; -import java.util.Map; import java.util.Optional; /** @@ -57,33 +56,36 @@ /** * 获取行政区划数据 + * * @param pcode * @return */ @Override - public List<Map<String, Object>> getRegion(String pcode) { + public List<RegionVO> getRegion(String pcode) { return this.baseMapper.getRegion(pcode); } /** * 获取街道数据 + * * @param areaCode * @return */ @Override - public List<Map<String, Object>> getStreet(String areaCode) { + public List<RegionVO> getStreet(String areaCode) { return this.baseMapper.getStreet(areaCode); } /** * 获取社区数据 + * * @param streetId * @return */ @Override - public List<Map<String, Object>> getCommunity(String streetId) { + public List<RegionVO> getCommunity(String streetId) { return this.baseMapper.getCommunity(streetId); } } -- Gitblit v1.7.1