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
3f9ee9e0
Commit
3f9ee9e0
authored
May 10, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目档案无岗位更新岗位fxj 2024-04-17
parent
f18931ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
3 deletions
+37
-3
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+37
-3
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
3f9ee9e0
...
@@ -3340,10 +3340,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -3340,10 +3340,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
int
forecastFlag
;
int
forecastFlag
;
// 是否SSC,true是
// 是否SSC,true是
boolean
isSSC
;
boolean
isSSC
;
String
autoFlag
=
"0"
;
String
autoFlag
;
TDispatchSocialFundInfo
socialFundInfo
;
TDispatchSocialFundInfo
socialFundInfo
;
for
(
TDispatchInfo
dis
:
dispatchs
)
{
for
(
TDispatchInfo
dis
:
dispatchs
)
{
autoFlag
=
autoFlagMap
.
get
(
dis
.
getId
());
autoFlag
=
autoFlagMap
.
get
(
dis
.
getId
());
if
(
Common
.
isEmpty
(
autoFlag
)){
autoFlag
=
"1"
;
}
isSSC
=
CommonConstants
.
FIVE_STRING
.
equals
(
dis
.
getStatus
());
isSSC
=
CommonConstants
.
FIVE_STRING
.
equals
(
dis
.
getStatus
());
forecastFlag
=
getForecastFlag
(
dis
);
forecastFlag
=
getForecastFlag
(
dis
);
auditInfo
=
new
TAuditInfo
();
auditInfo
=
new
TAuditInfo
();
...
@@ -3421,6 +3424,31 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -3421,6 +3424,31 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
sf
.
setSocialReduceDate
(
null
);
sf
.
setSocialReduceDate
(
null
);
}
}
}
}
//人工处理
if
(
CommonConstants
.
ONE_STRING
.
equals
(
auditStatus
)){
}
//自动化处理,如果未配置还是人工处理
if
(
CommonConstants
.
THREE_STRING
.
equals
(
auditStatus
)){
if
((
CommonConstants
.
ZERO_STRING
.
equals
(
socialInfo
.
getPensionHandle
())
||
CommonConstants
.
FIVE_STRING
.
equals
(
socialInfo
.
getPensionHandle
())
||
CommonConstants
.
ZERO_STRING
.
equals
(
socialInfo
.
getWorkInjuryHandle
())
||
CommonConstants
.
FIVE_STRING
.
equals
(
socialInfo
.
getWorkInjuryHandle
())
||
CommonConstants
.
ZERO_STRING
.
equals
(
socialInfo
.
getUnemployHandle
())
||
CommonConstants
.
FIVE_STRING
.
equals
(
socialInfo
.
getUnemployHandle
())
&&
CommonConstants
.
ZERO_STRING
.
equals
(
autoFlag
))){
socialInfo
.
setYgsHandleStatus
(
CommonConstants
.
ONE_STRING
);
}
if
((
CommonConstants
.
ZERO_STRING
.
equals
(
socialInfo
.
getMedicalHandle
())
||
CommonConstants
.
FIVE_STRING
.
equals
(
socialInfo
.
getMedicalHandle
())
||
CommonConstants
.
ZERO_STRING
.
equals
(
socialInfo
.
getBirthHandle
())
||
CommonConstants
.
FIVE_STRING
.
equals
(
socialInfo
.
getBirthHandle
())
||
CommonConstants
.
ZERO_STRING
.
equals
(
socialInfo
.
getBigailmentHandle
())
||
CommonConstants
.
FIVE_STRING
.
equals
(
socialInfo
.
getBigailmentHandle
())
&&
CommonConstants
.
ZERO_STRING
.
equals
(
autoFlag
))){
socialInfo
.
setYgsHandleStatus
(
CommonConstants
.
ONE_STRING
);
}
}
socialMapper
.
updateById
(
socialInfo
);
socialMapper
.
updateById
(
socialInfo
);
}
}
}
}
...
@@ -3576,11 +3604,17 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -3576,11 +3604,17 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
dis
.
setAuditTime
(
now
);
dis
.
setAuditTime
(
now
);
//人工处理
//人工处理
if
(
CommonConstants
.
ONE_STRING
.
equals
(
auditStatus
)){
if
(
CommonConstants
.
ONE_STRING
.
equals
(
auditStatus
)){
dis
.
setAutoFlag
(
"1"
);
dis
.
setAutoFlag
(
CommonConstants
.
ONE_STRING
);
}
}
//自动化处理,如果未配置还是人工处理
//自动化处理,如果未配置还是人工处理
if
(
CommonConstants
.
THREE_STRING
.
equals
(
auditStatus
)){
if
(
CommonConstants
.
THREE_STRING
.
equals
(
auditStatus
)){
dis
.
setAutoFlag
(
Common
.
isEmpty
(
autoFlag
)?
"1"
:
autoFlag
);
// 自动化处理
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
autoFlag
)){
dis
.
setAutoFlag
(
CommonConstants
.
ZERO_STRING
);
}
else
{
dis
.
setAutoFlag
(
CommonConstants
.
ONE_STRING
);
}
}
}
baseMapper
.
updateById
(
dis
);
baseMapper
.
updateById
(
dis
);
socialFundMapper
.
updateById
(
sf
);
socialFundMapper
.
updateById
(
sf
);
...
...
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