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
ee71750e
Commit
ee71750e
authored
Jun 27, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
34592556
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+8
-5
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
ee71750e
...
...
@@ -515,6 +515,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
this
.
updateFileMainId
(
tEmployeeContractInfo
);
}
}
else
{
// 标准合同、劳动派遣合同、其他。————社保公积金都派减,自动审核通过
this
.
judgeAuditStatus
(
tEmployeeContractInfo
,
user
);
baseMapper
.
updateById
(
tEmployeeContractInfo
);
}
...
...
@@ -1304,6 +1306,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
&&
Common
.
isNotNull
(
insert
.
getChangeContractAndEmployee
())
&&
CommonConstants
.
ZERO_STRING
.
equals
(
insert
.
getChangeContractAndEmployee
()))
{
changeStatus
(
insert
,
user
);
baseMapper
.
updateById
(
insert
);
}
}
}
...
...
@@ -1648,10 +1651,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
TEmployeeProject
tEmployeeProjectOld
=
tEmployeeProjectService
.
getById
(
tEmployeeProject
.
getId
());
tEmployeeProject
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//如果该项目仍有社保、公积金的数据不同步减项,如正常减项,记录项目档案操作记录
if
(
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
FOUR_INT
)
{
if
(
(
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
)
&&
(
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
THREE_INT
)
)
{
tEmployeeProject
.
setProjectStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeProject
.
setLeaveRemark
(
"终止合同联动减项"
);
tEmployeeProject
.
setLeaveTime
(
LocalDateTime
.
now
());
...
...
@@ -1915,7 +1918,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
if
((
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
)
&&
(
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
FOUR
_INT
))
{
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
THREE
_INT
))
{
tEmployeeProject
.
setProjectStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeProject
.
setLeaveRemark
(
"终止合同联动减项"
);
tEmployeeProject
.
setLeaveTime
(
LocalDateTime
.
now
());
...
...
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