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
27b05f6e
Commit
27b05f6e
authored
Jun 25, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
3cc0796a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
163 additions
and
43 deletions
+163
-43
UpProjectSocialFundVo.java
...cloud/plus/v1/yifu/archives/vo/UpProjectSocialFundVo.java
+2
-0
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+4
-4
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+155
-39
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+2
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/UpProjectSocialFundVo.java
View file @
27b05f6e
...
@@ -46,4 +46,6 @@ public class UpProjectSocialFundVo implements Serializable {
...
@@ -46,4 +46,6 @@ public class UpProjectSocialFundVo implements Serializable {
String
mobile
;
String
mobile
;
//是否同步终止合同、减项、减档 0 是 1 否
//是否同步终止合同、减项、减档 0 是 1 否
String
changeContractAndEmployee
;
String
changeContractAndEmployee
;
String
userName
;
String
userId
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
27b05f6e
...
@@ -771,10 +771,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -771,10 +771,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
TEmployeeProject
tEmployeeProjectOld
=
tEmployeeProjectService
.
getById
(
tEmployeeProject
.
getId
());
TEmployeeProject
tEmployeeProjectOld
=
tEmployeeProjectService
.
getById
(
tEmployeeProject
.
getId
());
tEmployeeProject
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
tEmployeeProject
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//如果该项目仍有社保、公积金的数据不同步减项,如正常减项,记录项目档案操作记录
//如果该项目仍有社保、公积金的数据不同步减项,如正常减项,记录项目档案操作记录
if
(
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
if
(
(
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
)
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
&&
(
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
FOUR_INT
)
{
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
FOUR_INT
)
)
{
tEmployeeProject
.
setProjectStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeProject
.
setProjectStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeProject
.
setLeaveRemark
(
"终止合同联动减项"
);
tEmployeeProject
.
setLeaveRemark
(
"终止合同联动减项"
);
tEmployeeProject
.
setLeaveTime
(
LocalDateTime
.
now
());
tEmployeeProject
.
setLeaveTime
(
LocalDateTime
.
now
());
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
27b05f6e
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
27b05f6e
...
@@ -3929,6 +3929,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -3929,6 +3929,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//派减审核通过才会处理合同档案状态
//派减审核通过才会处理合同档案状态
if
(
CommonConstants
.
ONE_INT
==
flag
)
{
if
(
CommonConstants
.
ONE_INT
==
flag
)
{
vo
.
setChangeContractAndEmployee
(
dis
.
getChangeContractAndEmployee
());
vo
.
setChangeContractAndEmployee
(
dis
.
getChangeContractAndEmployee
());
vo
.
setUserId
(
user
.
getId
());
vo
.
setUserName
(
user
.
getNickname
());
}
}
R
<
Boolean
>
resUp
=
archivesDaprUtil
.
updateProjectSocialFund
(
vo
);
R
<
Boolean
>
resUp
=
archivesDaprUtil
.
updateProjectSocialFund
(
vo
);
if
(
Common
.
isEmpty
(
resUp
)
||
!(
CommonConstants
.
SUCCESS
.
intValue
()
==
resUp
.
getCode
())
||
!
resUp
.
getData
().
booleanValue
()){
if
(
Common
.
isEmpty
(
resUp
)
||
!(
CommonConstants
.
SUCCESS
.
intValue
()
==
resUp
.
getCode
())
||
!
resUp
.
getData
().
booleanValue
()){
...
...
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