Commit a4fcbaba authored by hongguangwu's avatar hongguangwu

Merge branch 'MVP1.6.5' into develop

parents 7d7dfc31 5168041d
......@@ -790,7 +790,8 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
// 如果是文件夹,就创建个文件夹
if (!entry.isDirectory()) {
name = entry.getName();
if (Common.isNotNull(name) && (name.endsWith(".xls") || name.endsWith(".xlsx")) && (name.contains("全部") || name.contains("汇总"))) {
if (Common.isNotNull(name) && (name.endsWith(".xls") || name.endsWith(".xlsx")) &&
((type != 2 && (name.contains("全部") || name.contains("汇总"))) || (type == 2 && name.contains("单位个人缴费信息")))) {
is = zipFile.getInputStream(entry);
workbook = WorkbookFactory.create(is);
sheet = workbook.getSheetAt(0);
......
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