|
@@ -810,7 +810,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
}
|
|
}
|
|
//检测obj文件是否存在
|
|
//检测obj文件是否存在
|
|
String objPath = itemObj.getString("objPath");
|
|
String objPath = itemObj.getString("objPath");
|
|
- if(StrUtil.isEmpty(objPath) || FileUtil.exist(path + objPath)){
|
|
|
|
|
|
+ if(StrUtil.isEmpty(objPath) || !FileUtil.exist(path + objPath)){
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5070);
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5070);
|
|
}
|
|
}
|
|
});
|
|
});
|