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
af7b4caf
Commit
af7b4caf
authored
Jul 11, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
c36c829b
7955b944
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+17
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
af7b4caf
...
...
@@ -1020,6 +1020,20 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
else
{
saveEmp
=
existEmpMap
.
get
(
excel
.
getEmpIdcard
());
saveEmp
.
setProjectNum
(
CommonConstants
.
ONE_INT
);
if
(
Common
.
isNotNull
(
excel
.
getDeptNo
()))
{
if
(
excel
.
getDeptNo
().
length
()
>
20
)
{
errorMsg
.
add
(
EmployeeConstants
.
DEPT_NO_LENGTH
);
}
else
{
saveEmp
.
setDeptNo
(
excel
.
getDeptNo
());
}
}
if
(
Common
.
isNotNull
(
excel
.
getPost
()))
{
if
(
excel
.
getPost
().
length
()
>
20
)
{
errorMsg
.
add
(
EmployeeConstants
.
POST_LENGTH
);
}
else
{
saveEmp
.
setPost
(
excel
.
getPost
());
}
}
saveList
.
add
(
saveEmp
);
}
}
else
{
...
...
@@ -1329,6 +1343,9 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
project
.
setProjectStatus
(
CommonConstants
.
ZERO_INT
);
}
tEmployeeProjectService
.
updateBatchById
(
projectList
);
}
else
{
// 新增项目档案
tEmployeeProjectService
.
saveEmployeeProjectInfo
(
employeeInfo
);
}
}
}
...
...
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