|
@ -592,6 +592,11 @@ public class IcNeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao |
|
|
IcBuildingDTO building = icBuildingService.getBuildingInfo(info.getNeighborHoodId(), info.getBuildingName()); |
|
|
IcBuildingDTO building = icBuildingService.getBuildingInfo(info.getNeighborHoodId(), info.getBuildingName()); |
|
|
if (null != building) { |
|
|
if (null != building) { |
|
|
info.setBuildingExistStatus(true); |
|
|
info.setBuildingExistStatus(true); |
|
|
|
|
|
if (info.getTotalUnitNum() < building.getTotalUnitNum()){ |
|
|
|
|
|
info.setBuildingUnitNumStatus(true); |
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
return building.getId(); |
|
|
return building.getId(); |
|
|
} |
|
|
} |
|
|
IcBuildingEntity buildingEntity = new IcBuildingEntity(); |
|
|
IcBuildingEntity buildingEntity = new IcBuildingEntity(); |
|
|