From 4662e3409863037e146c398d5fc7f7320143f55b Mon Sep 17 00:00:00 2001
From: Renpc-kilig <308442850@qq.com>
Date: Thu, 25 Nov 2021 17:29:47 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E8=B0=83?=
=?UTF-8?q?=E6=95=B4=EF=BC=8Cbug=E4=BF=AE=E6=94=B9=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../community/impl/CommunityServiceImpl.java | 2 +-
.../community-introduction-mapper.xml | 6 +++
.../residential-introduction-mapper.xml | 6 +++
.../resources/templates/building/save.html | 2 +-
.../resources/templates/building/update.html | 4 +-
.../templates/residential/list-view.html | 38 +------------------
.../resources/templates/residential/list.html | 38 +------------------
7 files changed, 18 insertions(+), 78 deletions(-)
diff --git a/src/main/java/cn/com/tenlion/systemhouse/service/community/impl/CommunityServiceImpl.java b/src/main/java/cn/com/tenlion/systemhouse/service/community/impl/CommunityServiceImpl.java
index 145f955..1562f55 100644
--- a/src/main/java/cn/com/tenlion/systemhouse/service/community/impl/CommunityServiceImpl.java
+++ b/src/main/java/cn/com/tenlion/systemhouse/service/community/impl/CommunityServiceImpl.java
@@ -112,7 +112,7 @@ public class CommunityServiceImpl extends DefaultBaseService implements ICommuni
if(null != communityDTO) {
GridDTO gridDTO = gridService.get(communityDTO.getGrid());
if(null != gridDTO) {
- communityDTO.setGridName(gridDTO.getAreaName());
+ communityDTO.setGridName(gridDTO.getGridName());
}
}
return communityDTO;
diff --git a/src/main/resources/mybatis/mapper/communityintroduction/community-introduction-mapper.xml b/src/main/resources/mybatis/mapper/communityintroduction/community-introduction-mapper.xml
index b5ae301..3d0bb01 100644
--- a/src/main/resources/mybatis/mapper/communityintroduction/community-introduction-mapper.xml
+++ b/src/main/resources/mybatis/mapper/communityintroduction/community-introduction-mapper.xml
@@ -110,6 +110,12 @@