fix: 导出名称过长

This commit is contained in:
yjz
2024-08-15 13:51:49 +08:00
parent 0a203dd43e
commit 573723bde0
@@ -4208,8 +4208,8 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
}
try{
//创建临时文件夹
String tempPath = "";
if (fileOriName.length() > 10){
String tempPath = fileOriName;
if (fileOriName.length() > 50){
int index = fileOriName.lastIndexOf(".");
tempPath = fileOriName.substring(0, 50) + fileOriName.substring(index);
}