|
@@ -256,7 +256,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
if(Objects.isNull(camera)){
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_7010);
|
|
|
}
|
|
|
- CameraDetail cameraDetail = cameraDetailService.getById(camera.getId());
|
|
|
+ CameraDetail cameraDetail = cameraDetailService.getByCameraId(camera.getId());
|
|
|
if(Objects.isNull(cameraDetail)){
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_7010);
|
|
|
}
|