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
67df314a
Commit
67df314a
authored
Oct 29, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社保自动化配置-fxj
parent
12f63016
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
TAutoMainRelServiceImpl.java
...1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
+8
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
View file @
67df314a
...
...
@@ -841,6 +841,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
//保存社保规则明细
if
(
Common
.
isNotNull
(
socialRuleRels
)){
TAutoSocialRuleRel
temp
=
null
;
for
(
TAutoSocialRuleRel
rel:
socialRuleRels
){
//存在新增的直接socialFlag =true 后面不在判断此种场景
if
(!
Common
.
isNotNull
(
rel
.
getId
())){
...
...
@@ -853,7 +854,13 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
rel
.
setCreateTime
(
LocalDateTime
.
now
());
rel
.
setCreateName
(
user
.
getNickname
());
if
(
Common
.
isNotNull
(
rel
.
getId
())){
autoSocialRuleRelMapper
.
updateById
(
rel
);
temp
=
autoSocialRuleRelMapper
.
selectById
(
rel
.
getId
());
if
(
null
!=
temp
){
autoSocialRuleRelMapper
.
updateById
(
rel
);
}
else
{
autoSocialRuleRelMapper
.
insert
(
rel
);
}
}
else
{
autoSocialRuleRelMapper
.
insert
(
rel
);
}
...
...
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