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
0ff98dd3
Commit
0ff98dd3
authored
Nov 22, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同终止离职日期和减少原因必填
parent
d9872f47
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
EmployeeConstants.java
...ud/plus/v1/yifu/archives/constants/EmployeeConstants.java
+2
-0
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+7
-0
messages_zh_CN.properties
...on-core/src/main/resources/i18n/messages_zh_CN.properties
+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 @
0ff98dd3
...
...
@@ -49,6 +49,8 @@ public class EmployeeConstants {
public
static
final
String
POST_EMPTY
=
"合同岗位不能为空"
;
public
static
final
String
WORKING_HOURS_EMPTY
=
"工时制不能为空"
;
public
static
final
String
CONTRACT_REDUCE_INFO_NOT_EMPTY
=
"合同终止时离职日期和减少原因必填"
;
/**
* 无数据可更新
**/
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
0ff98dd3
...
...
@@ -857,6 +857,13 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
}
else
{
if
(
EmployeeConstants
.
SITUATION_SIX
.
equals
(
insert
.
getSituation
())
||
EmployeeConstants
.
SITUATION_SEVEN
.
equals
(
insert
.
getSituation
()))
{
// 终止 离职日期 和减少原因必填
if
(
EmployeeConstants
.
SITUATION_SEVEN
.
equals
(
insert
.
getSituation
())
&&
(
Common
.
isEmpty
(
insert
.
getReduceReason
())
||
Common
.
isEmpty
(
insert
.
getLeaveDate
()))){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
EmployeeConstants
.
CONTRACT_REDUCE_INFO_NOT_EMPTY
));
return
;
}
TEmployeeContractInfo
contractInfo
=
this
.
getOne
(
Wrappers
.<
TEmployeeContractInfo
>
query
().
lambda
()
.
eq
(
TEmployeeContractInfo:
:
getEmpIdcard
,
insert
.
getEmpIdcard
())
.
eq
(
TEmployeeContractInfo:
:
getDeptNo
,
insert
.
getDeptNo
())
...
...
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
0ff98dd3
...
...
@@ -175,7 +175,7 @@ emp.dispatch.social.start.is.error=\u6D3E\u589E\u5F02\u5E38\uFF1A \u793E\u4FDD\u
emp.dispatch.fund.start.is.error
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
516C
\u
79EF
\u
91D1
\u
201C
\u
8D77
\u
7F34
\u
65E5
\u
671F
\u
201D
\u
8D85
\u
51FA
\u
516C
\u
79EF
\u
91D1
\u6237\u
53EF
\u8865\u
7F34
\u7684\u6708\u
4EFD
\u
FF0C
\u
8BF7
\u
4FEE
\u6539
emp.dispatch.emp.contract.not.empty
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u5408\u
540C
\u
8D77
\u
7F34
\u
65F6
\u
95F4
\u3001\u5408\u
540C
\u
7C7B
\u
578B
\u3001\u
7B7E
\u
8BA2
\u
671F
\u9650\u
5FC5
\u
586B
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
emp.dispatch.emp.contract.not.empty
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u5408\u
540C
\u
8D77
\u
59CB
\u
65F6
\u
95F4
\u3001\u5408\u
540C
\u
7C7B
\u
578B
\u3001\u
7B7E
\u
8BA2
\u
671F
\u9650\u
5FC5
\u
586B
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
emp.dispatch.emp.not.empty
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
672A
\u
627E
\u5230\u
4EBA
\u5458\u7684\u9879\u
76EE
\u6863\u6848\u
4FE1
\u
606F
\u
FF0C
\u
8BF7
\u6309\u7167\u
201C
\u
64CD
\u
4F5C
\u
8BF4
\u
660E
\u
201D
\u
5C06
\u
201C
\u6863\u6848\u
201D
\u
53CA
\u
201C
\u5408\u
540C
\u
4FE1
\u
606F
\u
201D
\u8865\u5145\u
5B8C
\u6574
...
...
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