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
780b0677
Commit
780b0677
authored
Sep 04, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.9-社保自动化日志
parent
597a7296
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
TSocialSoldierServiceImpl.java
...1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
+7
-3
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
View file @
780b0677
...
...
@@ -16,6 +16,7 @@
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.CharsetUtil
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
...
...
@@ -2373,6 +2374,7 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
private
FailReasonConfig
getConfig
(
String
msg
,
Map
<
String
,
FailReasonConfig
>
errorMap
)
{
if
(
errorMap
!=
null
&&
Common
.
isNotNull
(
msg
))
{
FailReasonConfig
configTemp
;
FailReasonConfig
configReturn
;
for
(
Map
.
Entry
<
String
,
FailReasonConfig
>
config
:
errorMap
.
entrySet
())
{
if
(
msg
.
contains
(
config
.
getKey
()))
{
configTemp
=
config
.
getValue
();
...
...
@@ -2382,6 +2384,8 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
&&
Common
.
isNotNull
(
configTemp
.
getReplaceLeft
())
&&
Common
.
isNotNull
(
configTemp
.
getReplaceRight
())
)
{
configReturn
=
new
FailReasonConfig
();
BeanUtil
.
copyProperties
(
configTemp
,
configReturn
);
String
[]
leftRes
=
msg
.
split
(
configTemp
.
getReplaceLeft
());
if
(
leftRes
.
length
>
1
)
{
String
result
=
null
;
...
...
@@ -2397,12 +2401,12 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
result
=
leftRes
[
1
];
}
if
(
Common
.
isNotNull
(
result
))
{
configTemp
.
setSimpleReason
(
configTemp
.
getSimpleReason
()
+
configTemp
.
getReplaceLeft
()
+
result
+
configTemp
.
getReplaceRight
());
configReturn
.
setSimpleReason
(
configReturn
.
getSimpleReason
()
+
configReturn
.
getReplaceLeft
()
+
result
+
configReturn
.
getReplaceRight
());
return
configReturn
;
}
}
}
return
configTemp
;
}
}
}
...
...
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