|
@@ -200,6 +200,9 @@ public class TaBuildingServiceImpl extends ServiceImpl<TaBuildingMapper, TaBuild
|
200
|
200
|
buildingtWrapper.lambda().eq(TaBuilding::getBuildingId,id);
|
201
|
201
|
TaBuilding building = taBuildingMapper.selectOne(buildingtWrapper);
|
202
|
202
|
|
|
203
|
+ if (null == building){
|
|
204
|
+ return ResponseBean.error("项目不存在",ResponseBean.ERROR_UNAVAILABLE);
|
|
205
|
+ }
|
203
|
206
|
//查询当前图片
|
204
|
207
|
building.setBuildingImg(getBuildingImg(id, CommConstant.BUILDING_IMG_BANNER));
|
205
|
208
|
|