|
@@ -240,7 +240,7 @@ public class SceneUploadServiceImpl extends ServiceImpl<ISceneUploadMapper, Scen
|
|
|
File destFile = File.createTempFile(UUID.randomUUID().toString() ,extName);
|
|
|
CreateObjUtil.formatMp4(oldFile.getPath(), destFile.getPath());
|
|
|
|
|
|
- if(cn.hutool.core.io.FileUtil.exist(destFile.getPath())){
|
|
|
+ if(!cn.hutool.core.io.FileUtil.exist(destFile.getPath())){
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5038);
|
|
|
}
|
|
|
|