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
5d4ec442
Commit
5d4ec442
authored
Jun 20, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础档案新增字段及必填调整
parent
dca8a8e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
EmployeeConstants.java
...ud/plus/v1/yifu/archives/constants/EmployeeConstants.java
+1
-0
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+5
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/constants/EmployeeConstants.java
View file @
5d4ec442
...
...
@@ -50,6 +50,7 @@ public class EmployeeConstants {
public
static
final
String
CONTRACT_TYPE_ONE
=
"1"
;
public
static
final
String
CONTRACT_NO_IN_USE
=
"暂无可操作的合同"
;
public
static
final
String
CONTRACT_TRY_PERIOD_EMPTY
=
"试用期不能为空"
;
public
static
final
String
CONTRACT_NAME_EMPTY
=
"合同类型不能为空"
;
public
static
final
String
CONTRACT_PARTY_EMPTY
=
"合同甲方不能为空"
;
public
static
final
String
CONTRACT_TYPE_EMPTY
=
"签订期限不能为空"
;
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
5d4ec442
...
...
@@ -1134,6 +1134,11 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
if
(
Common
.
isEmpty
(
insert
.
getEmpIdcard
())
||
Common
.
isEmpty
(
insert
.
getDeptNo
()))
{
errorInfo
.
append
(
EmployeeConstants
.
EMPID_NOT_EMPTY
);
}
else
{
//签订类型为 新签 试用期必填
if
(
EmployeeConstants
.
SITUATION_ONE
.
equals
(
insert
.
getSituation
())
&&
Common
.
isEmpty
(
insert
.
getTryPeriod
()))
{
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
EmployeeConstants
.
CONTRACT_TRY_PERIOD_EMPTY
));
return
;
}
//签订类型不是终止的把是否同步终止合同、减项、减档设为空
if
(!
EmployeeConstants
.
SITUATION_SEVEN
.
equals
(
insert
.
getSituation
()))
{
insert
.
setChangeContractAndEmployee
(
null
);
...
...
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