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
9e752d22
Commit
9e752d22
authored
Jul 22, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化-fxj
parent
872455c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
20 deletions
+13
-20
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+13
-20
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
9e752d22
...
@@ -2853,36 +2853,29 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
...
@@ -2853,36 +2853,29 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
employeeInfo
.
setContactAddress
(
empAdd
.
getContactAddress
());
employeeInfo
.
setContactAddress
(
empAdd
.
getContactAddress
());
if
(
empAdd
.
getHignEducation
().
equals
(
"文盲"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"文盲"
))
{
employeeInfo
.
setHignEducation
(
"1"
);
employeeInfo
.
setHignEducation
(
"1"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"小学"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"小学"
))
{
employeeInfo
.
setHignEducation
(
"2"
);
employeeInfo
.
setHignEducation
(
"2"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"初中"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"初中"
))
{
employeeInfo
.
setHignEducation
(
"3"
);
employeeInfo
.
setHignEducation
(
"3"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"高中"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"高中"
))
{
employeeInfo
.
setHignEducation
(
"4"
);
employeeInfo
.
setHignEducation
(
"4"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"大专"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"大专"
))
{
employeeInfo
.
setHignEducation
(
"5"
);
employeeInfo
.
setHignEducation
(
"5"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"本科"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"本科"
))
{
employeeInfo
.
setHignEducation
(
"6"
);
employeeInfo
.
setHignEducation
(
"6"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"硕士"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"硕士"
))
{
employeeInfo
.
setHignEducation
(
"7"
);
employeeInfo
.
setHignEducation
(
"7"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"博士"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"博士"
))
{
employeeInfo
.
setHignEducation
(
"8"
);
employeeInfo
.
setHignEducation
(
"8"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"技工"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"技工"
))
{
employeeInfo
.
setHignEducation
(
"9"
);
employeeInfo
.
setHignEducation
(
"9"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"职高"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"职高"
))
{
employeeInfo
.
setHignEducation
(
"10"
);
employeeInfo
.
setHignEducation
(
"10"
);
}
}
else
if
(
empAdd
.
getHignEducation
().
equals
(
"中专"
))
{
if
(
empAdd
.
getHignEducation
().
equals
(
"中专"
))
{
employeeInfo
.
setHignEducation
(
"11"
);
employeeInfo
.
setHignEducation
(
"11"
);
}
else
{
//优化 如果非设定的最高学历 直接默认空
employeeInfo
.
setHignEducation
(
null
);
}
}
if
(
"5"
.
equals
(
employeeInfo
.
getHignEducation
())
if
(
"5"
.
equals
(
employeeInfo
.
getHignEducation
())
||
"6"
.
equals
(
employeeInfo
.
getHignEducation
())
||
"6"
.
equals
(
employeeInfo
.
getHignEducation
())
...
...
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