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
478e7785
Commit
478e7785
authored
Jul 18, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同优化-待提交
parent
6e3ba2a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+4
-4
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
478e7785
...
...
@@ -703,10 +703,6 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
if
(
EmployeeConstants
.
OTHERS
.
equals
(
insert
.
getContractName
())
&&
Common
.
isEmpty
(
insert
.
getContractSubName
()))
{
errorInfo
.
append
(
EmployeeConstants
.
SUB_MUST
);
}
if
(!
EmployeeConstants
.
CONTRACT_TYPE_TWO
.
equals
(
insert
.
getContractType
())
&&
Common
.
isEmpty
(
insert
.
getContractEnd
()))
{
errorInfo
.
append
(
EmployeeConstants
.
CONTRACT_END_MUST
);
}
if
(
Common
.
isEmpty
(
insert
.
getEmpIdcard
())
||
Common
.
isEmpty
(
insert
.
getDeptNo
()))
{
errorInfo
.
append
(
EmployeeConstants
.
EMPID_NOT_EMPTY
);
}
else
{
...
...
@@ -728,6 +724,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
insert
.
setContractEnd
(
contractInfo
.
getContractEnd
());
}
}
else
{
if
(!
EmployeeConstants
.
CONTRACT_TYPE_TWO
.
equals
(
insert
.
getContractType
())
&&
Common
.
isEmpty
(
insert
.
getContractEnd
()))
{
errorInfo
.
append
(
EmployeeConstants
.
CONTRACT_END_MUST
);
}
if
(
Common
.
isEmpty
(
insert
.
getContractName
()))
{
errorInfo
.
append
(
EmployeeConstants
.
CONTRACT_NAME_EMPTY
);
}
...
...
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