|
|
@ -464,6 +464,7 @@ public class IcNeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao |
|
|
|
wrapper.eq(IcNeighborHoodEntity::getNeighborHoodName, info.getNeighborHoodName()); |
|
|
|
IcNeighborHoodEntity entity = baseDao.selectOne(wrapper); |
|
|
|
if (null != entity) { |
|
|
|
info.setNeighborHoodExistStatus(true); |
|
|
|
return entity.getId(); |
|
|
|
} |
|
|
|
entity = new IcNeighborHoodEntity(); |
|
|
@ -489,6 +490,7 @@ public class IcNeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao |
|
|
|
//根据小区ID和楼栋名获取楼栋信息
|
|
|
|
IcBuildingDTO building = icBuildingService.getBuildingInfo(info.getNeighborHoodId(), info.getBuildingName()); |
|
|
|
if (null != building) { |
|
|
|
info.setBuildingExistStatus(true); |
|
|
|
return building.getId(); |
|
|
|
} |
|
|
|
IcBuildingEntity buildingEntity = new IcBuildingEntity(); |
|
|
|