自动生成房屋的时候,状态设置修改。

This commit is contained in:
Renpc-kilig 2021-10-22 19:08:20 +08:00
parent 07cf27da63
commit 363d2644da

View File

@ -253,7 +253,7 @@ public class BuildingServiceImpl extends DefaultBaseService implements IBuilding
private void saveHouseData(String token, String buildingId, BuildingVO buildingVO, String buildingNum, int i, int j, int k) { private void saveHouseData(String token, String buildingId, BuildingVO buildingVO, String buildingNum, int i, int j, int k) {
BuildingHouseVO buildingHouseVO = new BuildingHouseVO(); BuildingHouseVO buildingHouseVO = new BuildingHouseVO();
buildingHouseVO.setDataType(1); buildingHouseVO.setDataType(1);
buildingHouseVO.setHouseStatus("自住"); buildingHouseVO.setHouseStatus("自住");
buildingHouseVO.setBuildingId(buildingId); buildingHouseVO.setBuildingId(buildingId);
buildingHouseVO.setBuildingName(buildingVO.getBuildingNum()); buildingHouseVO.setBuildingName(buildingVO.getBuildingNum());
// 设置户号例如当前楼号为22户数为一梯一户则房屋编号为22栋1单元10122栋1单元201 // 设置户号例如当前楼号为22户数为一梯一户则房屋编号为22栋1单元10122栋1单元201