|
@@ -1219,13 +1219,11 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
String cameraName = fdageData.getJSONObject("cam").getString("uuid");
|
|
|
Camera cameraEntity = cameraService.getByChildName(cameraName);
|
|
|
if(cameraEntity == null){
|
|
|
- log.error("该相机不存在:" + cameraName);
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_6003);
|
|
|
}
|
|
|
|
|
|
CameraDetail detailEntity = cameraDetailService.getByCameraId(cameraEntity.getId());
|
|
|
if(detailEntity == null){
|
|
|
- log.error("该相机详情不存在:" + cameraName);
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_6003);
|
|
|
}
|
|
|
|