fix: 导出名称过长
This commit is contained in:
+2
-2
@@ -4208,8 +4208,8 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
|||||||
}
|
}
|
||||||
try{
|
try{
|
||||||
//创建临时文件夹
|
//创建临时文件夹
|
||||||
String tempPath = "";
|
String tempPath = fileOriName;
|
||||||
if (fileOriName.length() > 10){
|
if (fileOriName.length() > 50){
|
||||||
int index = fileOriName.lastIndexOf(".");
|
int index = fileOriName.lastIndexOf(".");
|
||||||
tempPath = fileOriName.substring(0, 50) + fileOriName.substring(index);
|
tempPath = fileOriName.substring(0, 50) + fileOriName.substring(index);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user