修改参数导入报错

This commit is contained in:
高嵩
2023-07-25 14:31:27 +08:00
parent c2628ad938
commit 88baf88cc2
@@ -249,8 +249,11 @@ public class FileUnZip {
String filenameOne = "";
String filenameTwo = "";
if(filename.contains("/")){
filenameOne = filename.split("/")[0];
filenameTwo = filename.split("/")[1];
String[] strs = filename.split("/");
if(strs.length >= 2){
filenameOne = strs[0];
filenameTwo = strs[1];
}
}
List<File> resultlist = new ArrayList<>();
if (StringUtil.isNotEmpty(path)){