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
75961988
Commit
75961988
authored
Sep 12, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.15-税友拆分社保、医保
parent
dae030e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
TSocialFriendBackLog.java
...loud/plus/v1/yifu/social/entity/TSocialFriendBackLog.java
+1
-0
TSocialFriendPushServiceImpl.java
...ifu/social/service/impl/TSocialFriendPushServiceImpl.java
+18
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFriendBackLog.java
View file @
75961988
...
...
@@ -66,6 +66,7 @@ public class TSocialFriendBackLog {
/**
* @Description: 类型1社保增 2社保减 3医保增 4医保减 5推送的日志 6社保图片路径7医保图片路径
* 8社保解除劳动合同9医保解除劳动合同11社保增拉取 12社保减拉取 13医保增拉取 14医保减拉取16社保单个图片17医保单个图片 18 反馈附件下载
* 19:花名册附件src
* @Author: hgw
* @Date: 2025/5/27 10:15
**/
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFriendPushServiceImpl.java
View file @
75961988
...
...
@@ -1253,6 +1253,24 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
backLog
.
setSocialId
(
vo
.
getSocialId
());
backLog
.
setType
(
CommonConstants
.
SIX_INT
);
backLog
.
setCreateTime
(
LocalDateTime
.
now
());
try
{
String
key
=
"socialFriend/"
+
vo
.
getSocialId
()
+
"/"
+
System
.
currentTimeMillis
()
+
fileName
;
ossUtil
.
uploadFileByStream
(
inputStreamOut
,
key
,
null
);
TSocialFriendBackLog
backLogFile
=
new
TSocialFriendBackLog
();
backLogFile
.
setSocialId
(
vo
.
getSocialId
());
backLogFile
.
setType
(
19
);
backLogFile
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isNotNull
(
key
))
{
URL
fileUrl
=
ossUtil
.
getObjectUrl
(
null
,
key
);
if
(
Common
.
isNotNull
(
fileUrl
))
{
key
+=
fileUrl
.
toString
();
}
}
backLogFile
.
setLogInfo
(
key
);
tSocialFriendBackLogService
.
save
(
backLogFile
);
}
catch
(
Exception
e
)
{
log
.
info
(
"花名册上传到阿里云失败,查看文件使用,没有找税友要也行"
);
}
R
<
String
>
ulrR
=
excelToImage
.
excelToImg
(
inputStreamOut
,
socialFriendConfig
,
restTemplate
,
backLog
);
tSocialFriendBackLogService
.
save
(
backLog
);
return
ulrR
;
...
...
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