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
3a9ae607
Commit
3a9ae607
authored
Mar 24, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-入职登记提交
parent
3c7592cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
EmployeeRegistrationServiceImpl.java
.../v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
+10
-4
No files found.
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
View file @
3a9ae607
...
...
@@ -678,6 +678,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
if
(
Common
.
isNotNull
(
registrationNow
.
getEmpDeptid
()))
{
vo
.
setDepartName
(
registrationNow
.
getEmpDeptname
());
vo
.
setDepartId
(
Long
.
valueOf
(
registrationNow
.
getEmpDeptid
()));
vo
.
setProjectId
(
registrationNow
.
getEmpProjectId
());
archivesDaprUtil
.
saveOrDeleteDeptRelation
(
vo
);
}
}
else
{
...
...
@@ -704,11 +705,16 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
?
RegistConstants
.
BEFORE_IN_PROJECT
:
RegistConstants
.
BEFORE_OUT_PROJECT
);
SysCspDeptVo
deptVo
=
new
SysCspDeptVo
();
if
(
CommonConstants
.
ONE_STRING
.
equals
(
registrationNow
.
getFeedbackType
()))
{
deptVo
.
setDepartName
(
registrationNow
.
getEmpDeptname
());
deptVo
.
setDepartId
(
Long
.
valueOf
(
registrationNow
.
getEmpDeptid
()));
if
(
Common
.
isNotNull
(
registrationNow
.
getEmpDeptid
()))
{
deptVo
.
setDepartName
(
registrationNow
.
getEmpDeptname
());
deptVo
.
setDepartId
(
Long
.
valueOf
(
registrationNow
.
getEmpDeptid
()));
deptVo
.
setProjectId
(
vo
.
getEmpProjectId
());
archivesDaprUtil
.
saveOrDeleteDeptRelation
(
deptVo
);
}
}
else
{
deptVo
.
setProjectId
(
vo
.
getEmpProjectId
());
archivesDaprUtil
.
saveOrDeleteDeptRelation
(
deptVo
);
}
deptVo
.
setProjectId
(
vo
.
getEmpProjectId
());
archivesDaprUtil
.
saveOrDeleteDeptRelation
(
deptVo
);
baseMapper
.
updateById
(
registrationNow
);
}
return
R
.
ok
();
...
...
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