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
72954822
Commit
72954822
authored
Mar 19, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 入职导入根据系统来源赋值部门信息
parent
74a8bbbf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
13 deletions
+17
-13
EmployeeRegistrationServiceImpl.java
.../v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
+17
-13
No files found.
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
View file @
72954822
...
...
@@ -739,6 +739,8 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
SysCspDeptVo
vo
=
new
SysCspDeptVo
();
vo
.
setUserId
(
user
.
getId
());
vo
.
setProjectId
(
selectVo
.
getId
());
// 1.9.8: 从客服端导入,入职部门默认为空
if
(
CommonConstants
.
ONE_STRING
.
equals
(
insert
.
getDataSource
())){
R
<
SysCspDeptVo
>
booleanR
=
upmsDaprUtils
.
selectCspDeptByUserDeptId
(
vo
);
if
(
Common
.
isNotNull
(
booleanR
)
&&
Common
.
isNotNull
(
booleanR
.
getData
())
&&
Common
.
isNotNull
(
booleanR
.
getData
().
getDepartId
())
&&
Common
.
isNotNull
(
booleanR
.
getData
().
getDepartName
()))
{
...
...
@@ -753,6 +755,8 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
insert
.
setEmpDeptid
(
user
.
getDeptId
().
toString
());
insert
.
setEmpDeptname
(
user
.
getDeptName
());
}
}
insert
.
setRegistorUsername
(
user
.
getNickname
());
insert
.
setRegistorPhone
(
user
.
getPhone
());
insert
.
setCustomerPhone
(
selectVo
.
getCsPhone
());
...
...
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