!280 优化CAD转换

* 调整输出日志信息
* 统一错误提示规范
* 修复 转义后 流接入方法错误的问题
* 修复 转义后 流接入方法错误的问题
* CAD报错调整
* 优化CAD转换 调整CAD中断进程
This commit is contained in:
高雄
2024-03-25 02:26:50 +00:00
committed by 陈精华
parent ebd35803c6
commit 6504ae2f45
3 changed files with 90 additions and 78 deletions

View File

@@ -58,7 +58,7 @@ public class CadFilePreviewImpl implements FilePreview {
e.printStackTrace();
}
if (imageUrls == null) {
return otherFilePreview.notSupportedFile(model, fileAttribute, "office转图片异常,请联系管理员");
return otherFilePreview.notSupportedFile(model, fileAttribute, "CAD转换异常,请联系管理员");
}
//是否保留CAD源文件
if (!fileAttribute.isCompressFile() && ConfigConstants.getDeleteSourceFile()) {