|
@@ -268,6 +268,11 @@ public class ExcelUtil {
|
|
|
destFile.mkdirs();
|
|
|
}
|
|
|
List<String> rarDir = ExcelUtil.extractRar(filePath, destPath);
|
|
|
+ for (String subFile : rarDir) {
|
|
|
+ if(!subFile.contains(destPath)){
|
|
|
+ subFile = destPath+"/"+subFile;
|
|
|
+ }
|
|
|
+ }
|
|
|
filePathList.addAll(rarDir);
|
|
|
}
|
|
|
}catch (Exception e) {
|
|
@@ -308,6 +313,7 @@ public class ExcelUtil {
|
|
|
unrar(inputFilePath,outputDirPath);
|
|
|
File dir = new File(outputDirPath);
|
|
|
for (File file : dir.listFiles()) {
|
|
|
+ logger.info(file.getAbsolutePath());
|
|
|
fileList.add(file.getAbsolutePath());
|
|
|
}
|
|
|
}catch (Exception e1){
|