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 @@