修复流程导入日志文件名称过长问题
This commit is contained in:
parent
cb3b5ac448
commit
028be0161a
Binary file not shown.
@ -140,9 +140,7 @@ public class DataMigrationWeb extends ActionWeb {
|
|||||||
String fileName = "";
|
String fileName = "";
|
||||||
for (int i = 0; i < fileArr.length; i++) {
|
for (int i = 0; i < fileArr.length; i++) {
|
||||||
File file = fileArr[i];
|
File file = fileArr[i];
|
||||||
if (fileName.length() < 90) {
|
fileName = (fileName + ","+ file.getName()).length() < 90 ? StringUtils.isEmpty(fileName) ? fileName + file.getName() : fileName + ","+ file.getName() : fileName;
|
||||||
fileName = StringUtils.isEmpty(fileName) ? fileName + file.getName() : fileName + ","+ file.getName();
|
|
||||||
}
|
|
||||||
if (i>=2){
|
if (i>=2){
|
||||||
fileName += "等";
|
fileName += "等";
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user