|
@@ -171,6 +171,13 @@ public class TaBuildingServiceImpl extends ServiceImpl<TaBuildingMapper, TaBuild
|
171
|
171
|
building.setIsSave(CommConstant.STATUS_UNACCALIMED);
|
172
|
172
|
}
|
173
|
173
|
|
|
174
|
+ // 项目类型
|
|
175
|
+ QueryWrapper<TaBuildingProjectType> projectTypeQueryWrapper = new QueryWrapper<>();
|
|
176
|
+ projectTypeQueryWrapper.eq("building_id", building.getBuildingId());
|
|
177
|
+ projectTypeQueryWrapper.eq("status", 1);
|
|
178
|
+ List<TaBuildingProjectType> buildingProjectTypes = taBuildingProjectTypeMapper.selectList(projectTypeQueryWrapper);
|
|
179
|
+ building.setBuildingProjectType(buildingProjectTypes);
|
|
180
|
+
|
174
|
181
|
return ResponseBean.success(building);
|
175
|
182
|
}
|
176
|
183
|
|