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
1169719f
Commit
1169719f
authored
Jul 06, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
派遣/外包+大专及以上=是 才根据学历(本科、大专这些)去更新 或者新建一条学历信息
parent
03546ea1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
11 deletions
+18
-11
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+18
-11
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
1169719f
...
...
@@ -1504,6 +1504,12 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
// 更新学历-核心
private
void
doUpdateEducationCore
(
TEmpEducation
education
,
TEmployeeInfo
employeeInfo
)
{
// 派遣/外包+大专及以上=是 才根据学历(本科、大专这些)去更新 或者新建一条学历信息
if
(
Common
.
isNotNull
(
employeeInfo
.
getEmpNatrue
())
&&
(
CommonConstants
.
ZERO_STRING
.
equals
(
employeeInfo
.
getEmpNatrue
())
||
CommonConstants
.
ONE_STRING
.
equals
(
employeeInfo
.
getEmpNatrue
()))
&&
Common
.
isNotNull
(
employeeInfo
.
getIsCollege
())
&&
employeeInfo
.
getIsCollege
()
==
CommonConstants
.
ONE_INT
)
{
education
.
setEmpId
(
employeeInfo
.
getId
());
education
.
setEmpName
(
employeeInfo
.
getEmpName
());
education
.
setEmpCode
(
employeeInfo
.
getEmpCode
());
...
...
@@ -1516,6 +1522,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
education
.
setGradutionDate
(
LocalDateTimeUtils
.
convertLDToDate
(
employeeInfo
.
getGradutionDate
()));
tEmpEducationService
.
insertEducationOfEmp
(
education
);
}
}
/**
* 获取导出的人员档案列表
...
...
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