From 40529f7d2cadd71c72cb89c7f79046a8ff689df5 Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期四, 24 十二月 2020 17:45:10 +0800
Subject: [PATCH] 系统管理

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngStructHouseServiceImpl.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngStructHouseServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngStructHouseServiceImpl.java
index 29b196b..7f10b75 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngStructHouseServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngStructHouseServiceImpl.java
@@ -419,11 +419,14 @@
     @Override
     public R putVolunteerPhone(String parentCode) {
         List<ComMngStructHouseVO> comMngStructHouseVOS = new ArrayList<>();
+        ComMngStructHouseDO comMngStructHouseDO1 = comMngStructHouseDAO.selectOne(new QueryWrapper<ComMngStructHouseDO>().lambda().eq(ComMngStructHouseDO::getHouseCode, parentCode));
+        String houseName = comMngStructHouseDO1.getHouseName();
         List<ComMngStructHouseDO> comMngStructHouseDOList = comMngStructHouseDAO.selectList(new QueryWrapper<ComMngStructHouseDO>().lambda().eq(ComMngStructHouseDO::getParentCode, parentCode));
         if (!ObjectUtils.isEmpty(comMngStructHouseDOList)) {
             comMngStructHouseDOList.forEach(comMngStructHouseDO -> {
                 ComMngStructHouseVO comMngStructHouseVO = new ComMngStructHouseVO();
                 BeanUtils.copyProperties(comMngStructHouseDO, comMngStructHouseVO);
+                comMngStructHouseVO.setHouseShortName(comMngStructHouseVO.getHouseName().replaceAll(houseName,""));
                 comMngStructHouseVOS.add(comMngStructHouseVO);
             });
         }

--
Gitblit v1.7.1