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 @@ video = #{video}, + + + photo = '', + + + video = '', gmt_modified = #{gmtModified}, modifier = #{modifier}, diff --git a/src/main/resources/mybatis/mapper/residentialintroduction/residential-introduction-mapper.xml b/src/main/resources/mybatis/mapper/residentialintroduction/residential-introduction-mapper.xml index f3e4e22..a76ac28 100644 --- a/src/main/resources/mybatis/mapper/residentialintroduction/residential-introduction-mapper.xml +++ b/src/main/resources/mybatis/mapper/residentialintroduction/residential-introduction-mapper.xml @@ -110,6 +110,12 @@ video = #{video}, + + + photo = '', + + + video = '', gmt_modified = #{gmtModified}, modifier = #{modifier}, diff --git a/src/main/resources/templates/building/save.html b/src/main/resources/templates/building/save.html index e757929..772a4fd 100644 --- a/src/main/resources/templates/building/save.html +++ b/src/main/resources/templates/building/save.html @@ -35,7 +35,7 @@ -
+
diff --git a/src/main/resources/templates/building/update.html b/src/main/resources/templates/building/update.html index 30b3085..98810d0 100644 --- a/src/main/resources/templates/building/update.html +++ b/src/main/resources/templates/building/update.html @@ -27,7 +27,7 @@
-
+
diff --git a/src/main/resources/templates/residential/list-view.html b/src/main/resources/templates/residential/list-view.html index e8c180d..7136feb 100644 --- a/src/main/resources/templates/residential/list-view.html +++ b/src/main/resources/templates/residential/list-view.html @@ -84,43 +84,7 @@ return rowData; } }, - {field: 'area1Name', width: 180, title: '一级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area2Name', width: 180, title: '二级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area3Name', width: 180, title: '三级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area4Name', width: 180, title: '四级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area5Name', width: 180, title: '五级区域名称', align:'center', + {field: 'location', width: 180, title: '地区', align:'center', templet: function(row) { var rowData = row[this.field]; if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { diff --git a/src/main/resources/templates/residential/list.html b/src/main/resources/templates/residential/list.html index 54e2683..44899e9 100644 --- a/src/main/resources/templates/residential/list.html +++ b/src/main/resources/templates/residential/list.html @@ -95,43 +95,7 @@ return rowData; } }, - {field: 'area1Name', width: 180, title: '一级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area2Name', width: 180, title: '二级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area3Name', width: 180, title: '三级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area4Name', width: 180, title: '四级区域名称', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'area5Name', width: 180, title: '五级区域名称', align:'center', + {field: 'location', width: 180, title: '地区', align:'center', templet: function(row) { var rowData = row[this.field]; if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {