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
767020cf
Commit
767020cf
authored
May 14, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.4-社保士兵加日志
parent
1973fd17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
TSocialSoldierPushServiceImpl.java
...fu/social/service/impl/TSocialSoldierPushServiceImpl.java
+8
-2
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierPushServiceImpl.java
View file @
767020cf
...
...
@@ -78,17 +78,17 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
if
(
Common
.
isNotNull
(
terminalId
))
{
// 3上传文件,获取文件地址
String
fileAddUrl
=
socialConfig
.
getThreeTerminalId
(
restTemplate
,
file
);
log
.
info
(
fileAddUrl
);
// 4 推送办理任务,返回任务id:
String
addId
=
socialConfig
.
getFourAppAdd
(
restTemplate
,
fileAddUrl
,
moduleDetailMap
.
get
(
type
),
terminalId
);
log
.
info
(
addId
);
for
(
TSocialInfo
socialInfo
:
socialList
)
{
if
(
"社保增员"
.
equals
(
type
)
||
"社保减员"
.
equals
(
type
))
{
socialInfo
.
setYgsAddId
(
addId
);
socialInfo
.
setYgsHandleStatus
(
CommonConstants
.
TWO_STRING
);
log
.
error
(
"社保增员TWO_STRING="
+
socialInfo
.
getId
());
}
else
{
socialInfo
.
setYsdAddId
(
addId
);
socialInfo
.
setYsdHandleStatus
(
CommonConstants
.
TWO_STRING
);
log
.
error
(
"医疗增员TWO_STRING="
+
socialInfo
.
getId
());
}
}
tSocialInfoService
.
updateBatchById
(
socialList
);
...
...
@@ -136,9 +136,11 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
**/
@Override
public
R
<
String
>
pushSoldier
(
List
<
String
>
dispatchIdList
)
{
log
.
error
(
"dispatchIdList="
+
dispatchIdList
);
// 社保增员、社保减员、医保增员、医保减员
// 养工失新增列表
List
<
SocialSoldierYgsAddVo
>
ygsAddlist
=
baseMapper
.
getSocialSoldierYgsAddVoList
(
dispatchIdList
);
log
.
error
(
"ygsAddlist="
+
ygsAddlist
);
if
(
ygsAddlist
!=
null
&&
!
ygsAddlist
.
isEmpty
())
{
List
<
TSocialInfo
>
socialIdList
=
new
ArrayList
<>();
TSocialInfo
socialInfo
;
...
...
@@ -149,6 +151,7 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
}
MultipartFile
file
=
this
.
getFile
(
ygsAddlist
);
if
(
Common
.
isNotNull
(
file
))
{
log
.
error
(
"社保增员"
);
this
.
getOneAppGetModuleDetail
(
socialIdList
,
file
,
"社保增员"
);
}
}
...
...
@@ -164,6 +167,7 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
}
MultipartFile
file
=
this
.
getFile
(
ygsReducelist
);
if
(
Common
.
isNotNull
(
file
))
{
log
.
error
(
"社保减员"
);
this
.
getOneAppGetModuleDetail
(
socialIdList
,
file
,
"社保减员"
);
}
}
...
...
@@ -179,6 +183,7 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
}
MultipartFile
file
=
this
.
getFile
(
ysdAddlist
);
if
(
Common
.
isNotNull
(
file
))
{
log
.
error
(
"医保增员"
);
this
.
getOneAppGetModuleDetail
(
socialIdList
,
file
,
"医保增员"
);
}
}
...
...
@@ -194,6 +199,7 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
}
MultipartFile
file
=
this
.
getFile
(
ysdReducelist
);
if
(
Common
.
isNotNull
(
file
))
{
log
.
error
(
"医保减员"
);
this
.
getOneAppGetModuleDetail
(
socialIdList
,
file
,
"医保减员"
);
}
}
...
...
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