Commit 5e186df7 authored by hongguangwu's avatar hongguangwu

MVP1.6.5-社保士兵实缴:最终

parent 29a95cb7
......@@ -611,8 +611,8 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
pathName = pathName + pname;
File file = new File(pathName);
FileUtils.copyInputStreamToFile(inputStream, file);
/*String fileName = System.currentTimeMillis() + "_" + file.getName();
boolean flag = ossUtil.uploadFileByFile(file, fileName, null);*/
/*String fileName = System.currentTimeMillis() + "_" + file.getName()
boolean flag = ossUtil.uploadFileByFile(file, fileName, null)*/
zipFile = new ZipFile(file, CharsetUtil.CHARSET_GBK);
Enumeration<?> entries = zipFile.entries();
......@@ -624,7 +624,6 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
if (!entry.isDirectory()) {
//添加进filesName
empInfo = entry.getName();
System.out.println(empInfo);
// 将压缩文件内容写入到这个文件中
is = zipFile.getInputStream(entry);
......@@ -648,7 +647,6 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
}
} else if (rowNum < 10) {
cellValue = this.getCellValue(row, nameNum);
System.out.println(cellValue);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment