Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
5e186df7
Commit
5e186df7
authored
Jun 14, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.5-社保士兵实缴:最终
parent
29a95cb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
TSocialSoldierServiceImpl.java
...1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
+2
-4
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
View file @
5e186df7
...
@@ -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
);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment