|
@@ -944,10 +944,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
if(ObjectUtils.isEmpty(sceneProEntity)){
|
|
if(ObjectUtils.isEmpty(sceneProEntity)){
|
|
generatePlusObjFile(num);
|
|
generatePlusObjFile(num);
|
|
- throw new BusinessException(SceneConstant.FAILURE_CODE_5005, SceneConstant.FAILURE_MSG_5005);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- if(sceneProEntity.getSceneSource().intValue() != 4){
|
|
|
|
|
|
+ if(sceneProEntity.getSceneSource() != 4){
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3003, "只能操作激光场景");
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3003, "只能操作激光场景");
|
|
}
|
|
}
|
|
|
|
|