|
|
@ -664,6 +664,12 @@ public class BuildingServiceImpl implements BuildingService { |
|
|
|
public Boolean changeBuilding(Map<String, Object> params) { |
|
|
|
|
|
|
|
|
|
|
|
IcNeighborHoodEntity neighborHood = neighborHoodService.selectById(params.get("neighborhoodId").toString()); |
|
|
|
if (neighborHood == null){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
params.put("gridId",neighborHood.getGridId()); |
|
|
|
|
|
|
|
// 找到本身的building 先改掉小区id
|
|
|
|
IcBuildingEntity building = icBuildingDao.selectById(params.get("buildingId").toString()); |
|
|
|
if (building == null){ |
|
|
|