Commit 5e186df7 authored by hongguangwu's avatar hongguangwu

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

parent 29a95cb7
...@@ -611,8 +611,8 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper, ...@@ -611,8 +611,8 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
pathName = pathName + pname; pathName = pathName + pname;
File file = new File(pathName); File file = new File(pathName);
FileUtils.copyInputStreamToFile(inputStream, file); FileUtils.copyInputStreamToFile(inputStream, file);
/*String fileName = System.currentTimeMillis() + "_" + file.getName(); /*String fileName = System.currentTimeMillis() + "_" + file.getName()
boolean flag = ossUtil.uploadFileByFile(file, fileName, null);*/ boolean flag = ossUtil.uploadFileByFile(file, fileName, null)*/
zipFile = new ZipFile(file, CharsetUtil.CHARSET_GBK); zipFile = new ZipFile(file, CharsetUtil.CHARSET_GBK);
Enumeration<?> entries = zipFile.entries(); Enumeration<?> entries = zipFile.entries();
...@@ -624,7 +624,6 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper, ...@@ -624,7 +624,6 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
if (!entry.isDirectory()) { if (!entry.isDirectory()) {
//添加进filesName //添加进filesName
empInfo = entry.getName(); empInfo = entry.getName();
System.out.println(empInfo);
// 将压缩文件内容写入到这个文件中 // 将压缩文件内容写入到这个文件中
is = zipFile.getInputStream(entry); is = zipFile.getInputStream(entry);
...@@ -648,7 +647,6 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper, ...@@ -648,7 +647,6 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
} }
} else if (rowNum < 10) { } else if (rowNum < 10) {
cellValue = this.getCellValue(row, nameNum); 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