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
8795ec66
Commit
8795ec66
authored
Oct 24, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
档案优化
parent
5c75ebc4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
EmployeeConstants.java
...ud/plus/v1/yifu/archives/constants/EmployeeConstants.java
+1
-0
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+1
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/constants/EmployeeConstants.java
View file @
8795ec66
...
...
@@ -19,6 +19,7 @@ public class EmployeeConstants {
public
static
final
String
CONTACT_ADDRESS
=
"通信地址必填!"
;
public
static
final
String
EMP_NATRUE_ZERO
=
"派遣"
;
public
static
final
String
EMP_NATRUE_ONE
=
"外包"
;
public
static
final
String
EMP_NATRUE_THREE
=
"内部员工"
;
public
static
final
String
HIGN_EDUCATION
=
"最高学历必填"
;
public
static
final
String
SCHOOL
=
"学校必填"
;
public
static
final
String
MAJOR
=
"专业必填"
;
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
8795ec66
...
...
@@ -791,7 +791,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
errorMsgMap
.
put
(
lineNum
,
new
ErrorMessage
(
"员工类型必填!"
));
}
else
if
(
EmployeeConstants
.
EMP_NATRUE_ZERO
.
equals
(
employeeInfo
.
getEmpNatrue
())
||
EmployeeConstants
.
EMP_NATRUE_ONE
.
equals
(
employeeInfo
.
getEmpNatrue
())
||
CommonConstants
.
THREE_STRING
.
equals
(
employeeInfo
.
getEmpNatrue
()))
{
||
EmployeeConstants
.
EMP_NATRUE_THREE
.
equals
(
employeeInfo
.
getEmpNatrue
()))
{
// 2.员工类型为外包和派遣和内部员工,额外必填项有:身份证开始日期、身份证截止日期、民族、户籍所在(省市县)、户口性质、档案所在地(省市县)、是否大专及以上、通信地址
if
(
Common
.
isEmpty
(
employeeInfo
.
getValidityStart
()))
{
errorMsg
.
add
(
EmployeeConstants
.
VALIDITY_START
);
...
...
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