|
@@ -314,9 +314,11 @@ public class BuildV3SceneServiceImpl implements IBuildSceneService {
|
|
String logoPath = null;
|
|
String logoPath = null;
|
|
if(Objects.nonNull(scenePro.getCameraId())){
|
|
if(Objects.nonNull(scenePro.getCameraId())){
|
|
CameraDetail cameraDetail = cameraDetailService.getByCameraId(scenePro.getId());
|
|
CameraDetail cameraDetail = cameraDetailService.getByCameraId(scenePro.getId());
|
|
- Company company = companyService.getById(cameraDetail.getCompanyId());
|
|
|
|
- if(Objects.nonNull(company) && StrUtil.isNotEmpty(company.getQrLogo())){
|
|
|
|
- logoPath = ConstantFilePath.BASE_PATH + File.separator + company.getQrLogo();
|
|
|
|
|
|
+ if(Objects.nonNull(cameraDetail) && Objects.nonNull(cameraDetail.getCompanyId())){
|
|
|
|
+ Company company = companyService.getById(cameraDetail.getCompanyId());
|
|
|
|
+ if(Objects.nonNull(company) && StrUtil.isNotEmpty(company.getQrLogo())){
|
|
|
|
+ logoPath = ConstantFilePath.BASE_PATH + File.separator + company.getQrLogo();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|