From d50ef0ec94f90ddf92bcd42671aa62ae38df81b9 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期三, 20 七月 2022 15:36:06 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java | 7 +++++++ springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml | 2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java index ae82b0a..00931e4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java @@ -147,6 +147,13 @@ ComActVO comActVO = new ComActVO(); BeanUtils.copyProperties(comActDO, comActVO); comActVO.setAreaName(comActDAO.selectAreaName(comActVO.getAreaCode())); + comActVO.setAccount(null); + comActVO.setPassword(null); + comActVO.setAddress(null); + comActVO.setContacts(null); + comActVO.setCreateAt(null); + comActVO.setState(null); + comActVO.setDistance(null); return R.ok(comActVO); } diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml index df229ac..fa9c12d 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml @@ -432,7 +432,7 @@ </update> <select id="selectCommunity" resultType="com.panzhihua.common.model.vos.community.ComActVO"> - select * from com_act where community_id = #{communityId} + select name,community_id,lng,lat,area_code,area_name,contacts_phone from com_act where community_id = #{communityId} </select> <delete id="delLcMember"> -- Gitblit v1.7.1