fix: 导出名称过长
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user