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

This commit is contained in:
anhc 2022-07-07 16:22:32 +08:00
parent 3a30f17591
commit cb3b5ac448
2 changed files with 3 additions and 1 deletions

View File

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