fix(导入拆分结果): /问题
This commit is contained in:
@@ -247,6 +247,9 @@ public class FileUnZip {
|
||||
if (StringUtil.isNotEmpty(path)){
|
||||
File file = new File(path);
|
||||
String[] splitFilename = filename.split("/");
|
||||
if (splitFilename.length == 0){
|
||||
return resultlist;
|
||||
}
|
||||
filename = splitFilename[splitFilename.length - 1];
|
||||
if (file.isFile() && file.getName().equals(filename)) {
|
||||
resultlist.add(file);
|
||||
|
||||
Reference in New Issue
Block a user