|
@@ -125,6 +125,13 @@ public class CameraService {
|
|
|
BeanUtil.copyProperties(idenCamera,resVO);
|
|
|
resVO.setStatusName(ConnectStatusEnum.getValueToName(resVO.getCode()));
|
|
|
resVO.setTypeName(CameraTypeEnum.getValueToName(resVO.getType()));
|
|
|
+ Long communityId1 = resVO.getCommunityId();
|
|
|
+ if(communityId1 != null){
|
|
|
+ IdenCommunity idenCommunity = this.idenCommunityService.getById(communityId1);
|
|
|
+ if(idenCommunity != null ){
|
|
|
+ resVO.setCommunityName(idenCommunity.getName());
|
|
|
+ }
|
|
|
+ }
|
|
|
return resVO;
|
|
|
}
|
|
|
return null;
|