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
0ea6a843
Commit
0ea6a843
authored
May 14, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.4-加个延迟
parent
af7a0525
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+8
-1
DoSocialTask.java
...com/yifu/cloud/plus/v1/yifu/social/util/DoSocialTask.java
+1
-1
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
0ea6a843
...
...
@@ -3343,6 +3343,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
boolean
isSSC
;
String
autoFlag
;
TDispatchSocialFundInfo
socialFundInfo
;
// 是否自动化办理,true:推送到社保士兵
boolean
isAuto
;
for
(
TDispatchInfo
dis
:
dispatchs
)
{
autoFlag
=
autoFlagMap
.
get
(
dis
.
getId
());
if
(
Common
.
isEmpty
(
autoFlag
)){
...
...
@@ -3603,13 +3605,15 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
if
(
CommonConstants
.
ONE_STRING
.
equals
(
auditStatus
)){
dis
.
setAutoFlag
(
CommonConstants
.
ONE_STRING
);
}
// 初始化为非自动办理
isAuto
=
false
;
//自动化处理,如果未配置还是人工处理
if
(
CommonConstants
.
THREE_STRING
.
equals
(
auditStatus
)){
// 自动化处理
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
autoFlag
)){
dis
.
setSocialHandleStatus
(
CommonConstants
.
FOUR_STRING
);
dis
.
setAutoFlag
(
CommonConstants
.
ZERO_STRING
);
socialTask
.
pushSoldier
(
dis
.
getId
())
;
isAuto
=
true
;
}
else
{
dis
.
setAutoFlag
(
CommonConstants
.
ONE_STRING
);
}
...
...
@@ -3617,6 +3621,9 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
baseMapper
.
updateById
(
dis
);
socialFundMapper
.
updateById
(
sf
);
if
(
isAuto
)
{
socialTask
.
pushSoldier
(
dis
.
getId
());
}
//派减的申请审核完更新社保公积金查询快照表
if
(
CommonConstants
.
ONE_STRING
.
equals
(
dis
.
getType
()))
{
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/util/DoSocialTask.java
View file @
0ea6a843
...
...
@@ -269,7 +269,7 @@ public class DoSocialTask {
* @return
**/
@Async
public
void
pushSoldier
(
String
dispatchId
){
public
void
pushSoldier
(
String
dispatchId
)
{
List
<
String
>
dispatchIdList
=
new
ArrayList
<>();
dispatchIdList
.
add
(
dispatchId
);
try
{
...
...
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