|
@@ -302,10 +302,13 @@ public class ExtendContentController extends BaseController {
|
302
|
302
|
try {
|
303
|
303
|
ExtendContent extendContent = iExtendContentService.getById(id);
|
304
|
304
|
TaBuildingDynamic taBuildingDynamic = iTaBuildingDynamicService.getById(extendContent.getTargetId());
|
|
305
|
+ TaBuilding building = iTaBuildingService.getById(extendContent.getBuildingId());
|
|
306
|
+ if (building != null){
|
|
307
|
+ extendContent.setBuildingStatus(building.getStatus());
|
|
308
|
+ }
|
305
|
309
|
if (null != taBuildingDynamic) {
|
306
|
310
|
extendContent.setTargetName(taBuildingDynamic.getTitle());
|
307
|
311
|
}
|
308
|
|
-
|
309
|
312
|
responseBean.addSuccess(extendContent);
|
310
|
313
|
}catch (Exception e){
|
311
|
314
|
e.printStackTrace();
|