修复流程导入日志文件名称过长问题

This commit is contained in:
anhc 2022-07-07 16:27:11 +08:00
parent cb3b5ac448
commit 028be0161a
2 changed files with 1 additions and 3 deletions

View File

@ -140,9 +140,7 @@ public class DataMigrationWeb extends ActionWeb {
String fileName = "";
for (int i = 0; i < fileArr.length; i++) {
File file = fileArr[i];
if (fileName.length() < 90) {
fileName = StringUtils.isEmpty(fileName) ? fileName + file.getName() : fileName + ","+ file.getName();
}
fileName = (fileName + ","+ file.getName()).length() < 90 ? StringUtils.isEmpty(fileName) ? fileName + file.getName() : fileName + ","+ file.getName() : fileName;
if (i>=2){
fileName += "";
break;