From e7e3883dcb62504d7b4f4682356b0f7daa216837 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Wed, 14 Jul 2021 10:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A5=BC=E5=AE=87=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=97=B6=EF=BC=8C=E7=9B=B8=E5=BA=94=E7=9A=84=E6=88=BF?= =?UTF-8?q?=E5=B1=8B=E7=AE=A1=E7=90=86=E4=B8=AD=E7=9A=84=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84bug=E4=BF=AE=E6=94=B9=E3=80=82=20=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/CityBuildingServiceImpl.java | 3 +++ .../static/route/buildinghouse/save.html | 12 ++++----- .../static/route/buildinghouse/update.html | 19 ++++++------- .../route/citybuilding/list-citybuilding.html | 27 ++++++++++++------- .../citybuilding/update-citybuilding.html | 14 +++++----- 5 files changed, 44 insertions(+), 31 deletions(-) diff --git a/src/main/java/com/cm/systemcity/service/citybuilding/impl/CityBuildingServiceImpl.java b/src/main/java/com/cm/systemcity/service/citybuilding/impl/CityBuildingServiceImpl.java index b7f0088..6278ac5 100644 --- a/src/main/java/com/cm/systemcity/service/citybuilding/impl/CityBuildingServiceImpl.java +++ b/src/main/java/com/cm/systemcity/service/citybuilding/impl/CityBuildingServiceImpl.java @@ -243,6 +243,7 @@ public class CityBuildingServiceImpl extends AbstractService implements ICityBui buildingHouseVO.setCityBuildingId(cityBuildingId); buildingHouseVO.setDistrictName(cityBuildingVO.getDistrictName()); buildingHouseVO.setDistrictId(cityBuildingVO.getDistrictId()); + buildingHouseVO.setDataType(1); buildingHouseService.update(token,null, buildingHouseVO); } // 楼宇名称 @@ -250,6 +251,7 @@ public class CityBuildingServiceImpl extends AbstractService implements ICityBui BuildingHouseVO buildingHouseVO = new BuildingHouseVO(); buildingHouseVO.setCityBuildingId(cityBuildingId); buildingHouseVO.setCityBuildingName(cityBuildingVO.getBuildingName()); + buildingHouseVO.setDataType(1); buildingHouseService.update(token,null, buildingHouseVO); } // 楼宇编号 @@ -258,6 +260,7 @@ public class CityBuildingServiceImpl extends AbstractService implements ICityBui buildingHouseVO.setCityBuildingId(cityBuildingId); buildingHouseVO.setNewHouseNumber(cityBuildingVO.getBuildingNum() + "栋"); buildingHouseVO.setOldHouseNumber(cityBuildingDTO.getBuildingNum() + "栋"); + buildingHouseVO.setDataType(1); buildingHouseService.update(token,null, buildingHouseVO); } // 楼宇层数 diff --git a/src/main/resources/static/route/buildinghouse/save.html b/src/main/resources/static/route/buildinghouse/save.html index 8779a22..2e1408d 100644 --- a/src/main/resources/static/route/buildinghouse/save.html +++ b/src/main/resources/static/route/buildinghouse/save.html @@ -30,8 +30,8 @@
- -
+ +
@@ -59,14 +59,14 @@
- -
+ +
- -
+ +
diff --git a/src/main/resources/static/route/buildinghouse/update.html b/src/main/resources/static/route/buildinghouse/update.html index 1c8638e..f828a73 100644 --- a/src/main/resources/static/route/buildinghouse/update.html +++ b/src/main/resources/static/route/buildinghouse/update.html @@ -22,7 +22,7 @@
- +
@@ -30,19 +30,20 @@
- -
+ +
- +
+
- +
- -
+ +
diff --git a/src/main/resources/static/route/citybuilding/list-citybuilding.html b/src/main/resources/static/route/citybuilding/list-citybuilding.html index 533af74..75e2ca7 100644 --- a/src/main/resources/static/route/citybuilding/list-citybuilding.html +++ b/src/main/resources/static/route/citybuilding/list-citybuilding.html @@ -112,15 +112,6 @@ return rowData; } }, - {field: 'buildingFloor', width: 150, title: '楼宇层数', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, {field: 'buildingUnitNum', width: 150, title: '楼宇单元数', align:'center', templet: function(row) { var rowData = row[this.field]; @@ -130,6 +121,24 @@ return rowData; } }, + {field: 'buildingFloor', width: 150, title: '楼宇层数', align:'center', + templet: function(row) { + var rowData = row[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'countOfFloor', width: 150, title: '每层户数', align:'center', + templet: function(row) { + var rowData = row[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + } ]], page: true, parseData: function(data) { diff --git a/src/main/resources/static/route/citybuilding/update-citybuilding.html b/src/main/resources/static/route/citybuilding/update-citybuilding.html index 18d4d59..3b7095c 100644 --- a/src/main/resources/static/route/citybuilding/update-citybuilding.html +++ b/src/main/resources/static/route/citybuilding/update-citybuilding.html @@ -41,6 +41,12 @@
+
+ +
+ +
+
@@ -53,12 +59,6 @@
-
- -
- -
-
@@ -81,7 +81,7 @@