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
7237147b
Commit
7237147b
authored
May 14, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.4-失败原因模糊搜索
parent
767020cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
TSocialSoldierServiceImpl.java
...1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
+17
-2
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
View file @
7237147b
...
@@ -436,7 +436,7 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -436,7 +436,7 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
updateSocial
.
setYgsRemarkOld
(
excel
.
getMsg
());
updateSocial
.
setYgsRemarkOld
(
excel
.
getMsg
());
// 如果找到了失败原因配置:
// 如果找到了失败原因配置:
if
(
Common
.
isNotNull
(
excel
.
getMsg
()))
{
if
(
Common
.
isNotNull
(
excel
.
getMsg
()))
{
failConfig
=
errorMap
.
get
(
excel
.
getMsg
()
);
failConfig
=
getConfig
(
excel
.
getMsg
(),
errorMap
);
if
(
failConfig
!=
null
)
{
if
(
failConfig
!=
null
)
{
updateSocial
.
setYgsRemark
(
failConfig
.
getSimpleReason
());
updateSocial
.
setYgsRemark
(
failConfig
.
getSimpleReason
());
// failConfig.getReplay() 1 继续办理 2 中止办理 3 人工办理
// failConfig.getReplay() 1 继续办理 2 中止办理 3 人工办理
...
@@ -474,7 +474,7 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -474,7 +474,7 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
updateSocial
.
setYsdRemarkOld
(
excel
.
getMsg
());
updateSocial
.
setYsdRemarkOld
(
excel
.
getMsg
());
// 如果找到了失败原因配置:
// 如果找到了失败原因配置:
if
(
Common
.
isNotNull
(
excel
.
getMsg
()))
{
if
(
Common
.
isNotNull
(
excel
.
getMsg
()))
{
failConfig
=
errorMap
.
get
(
excel
.
getMsg
()
);
failConfig
=
getConfig
(
excel
.
getMsg
(),
errorMap
);
if
(
failConfig
!=
null
)
{
if
(
failConfig
!=
null
)
{
updateSocial
.
setYsdRemark
(
failConfig
.
getSimpleReason
());
updateSocial
.
setYsdRemark
(
failConfig
.
getSimpleReason
());
// failConfig.getReplay() 1 继续办理 2 中止办理 3 人工办理
// failConfig.getReplay() 1 继续办理 2 中止办理 3 人工办理
...
@@ -544,6 +544,21 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -544,6 +544,21 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
}
}
}
}
/**
* @Description: 查找失败原因的关键字
* @Author: hgw
* @Date: 2024/5/14 17:55
* @return: com.yifu.cloud.plus.v1.yifu.social.entity.FailReasonConfig
**/
private
FailReasonConfig
getConfig
(
String
msg
,
Map
<
String
,
FailReasonConfig
>
errorMap
)
{
for
(
Map
.
Entry
<
String
,
FailReasonConfig
>
config
:
errorMap
.
entrySet
())
{
if
(
msg
.
contains
(
config
.
getKey
()))
{
return
config
.
getValue
();
}
}
return
null
;
}
/**
/**
* 调用成功的社保办理
* 调用成功的社保办理
*
*
...
...
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