|
@@ -842,6 +842,8 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
} catch (Exception e) {
|
|
|
log.error("上传dam模型,num:" + num, e);
|
|
|
sceneAsynOperLog.setState(CommonOperStatus.FAILD.code());
|
|
|
+ }finally {
|
|
|
+ FileUtil.del(path);
|
|
|
}
|
|
|
sceneAsynOperLogService.updateById(sceneAsynOperLog);
|
|
|
});
|
|
@@ -990,6 +992,8 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
} catch (Exception e) {
|
|
|
log.error("上传全景图报错,num:" + num, e);
|
|
|
sceneAsynOperLog.setState(CommonOperStatus.FAILD.code());
|
|
|
+ }finally{
|
|
|
+ FileUtil.del(path);
|
|
|
}
|
|
|
sceneAsynOperLogService.updateById(sceneAsynOperLog);
|
|
|
});
|