|
@@ -80,7 +80,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
|
80
|
80
|
public ResponseBean buildingSelectId(String id) {
|
81
|
81
|
ResponseBean response= new ResponseBean();
|
82
|
82
|
QueryWrapper<Building> buildingtWrapper = new QueryWrapper<>();
|
83
|
|
- buildingtWrapper.lambda().eq(Building::getStatus,1);
|
|
83
|
+ buildingtWrapper.lambda().gt(Building::getStatus,-1);
|
84
|
84
|
buildingtWrapper.lambda().eq(Building::getBuildingId,id);
|
85
|
85
|
Building building= buildingMapper.selectOne(buildingtWrapper);
|
86
|
86
|
//查询当前图片
|