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
062bf3e6
Commit
062bf3e6
authored
Jun 30, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARCHIVES_IMPORT_EMP_EMPNAME_MUST
parent
ba9b402c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+4
-0
ErrorCodes.java
....cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
+1
-0
messages_zh_CN.properties
...on-core/src/main/resources/i18n/messages_zh_CN.properties
+1
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
062bf3e6
...
...
@@ -353,6 +353,10 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
else
{
idCardList
.
add
(
idCard
);
}
if
(
Common
.
isEmpty
(
excel
.
getEmpName
()))
{
errorMsg
.
add
(
MsgUtils
.
getMessage
(
ErrorCodes
.
ARCHIVES_IMPORT_EMP_EMPNAME_MUST
,
excel
.
getEmpIdcard
()));
errorMsgMap
.
put
(
i
+
2
,
CommonConstants
.
ZERO_INT
);
}
if
(
Common
.
isEmpty
(
excel
.
getLeaveReason
()))
{
errorMsg
.
add
(
MsgUtils
.
getMessage
(
ErrorCodes
.
ARCHIVES_IMPORT_EMP_LEAVEREASON_MUST
,
excel
.
getEmpIdcard
()));
errorMsgMap
.
put
(
i
+
2
,
CommonConstants
.
ZERO_INT
);
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
View file @
062bf3e6
...
...
@@ -255,6 +255,7 @@ public interface ErrorCodes {
String
ARCHIVES_IMPORT_EMP_NOT_EXISTS
=
"archives.import.emp.not.exists"
;
// 身份证必填
String
ARCHIVES_IMPORT_EMP_IDCARD_MUST
=
"archives.import.emp.idCard.must"
;
String
ARCHIVES_IMPORT_EMP_EMPNAME_MUST
=
"archives.import.emp.empName.must"
;
// 减档原因必填
String
ARCHIVES_IMPORT_EMP_LEAVEREASON_MUST
=
"archives.import.emp.leaveReason.must"
;
String
ARCHIVES_IMPORT_EMP_LEAVEREMARK_LENGTH
=
"archives.import.emp.leaveRemark.length"
;
...
...
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
062bf3e6
...
...
@@ -81,6 +81,7 @@ archives.import.emp.file.area.error=\u6863\u6848\u6240\u5728\u5730\u672A\u627E\u
archives.import.emp.high.education.error
=
\u5927\u
4E13
\u
53CA
\u
4EE5
\u
4E0A
\u
FF0C
\u6700\u
9AD8
\u
5B66
\u5386\u
5FC5
\u
586B
archives.import.emp.not.exists
=
\u6839\u
636E
\u
8EAB
\u
4EFD
\u
8BC1
\u
672A
\u
627E
\u5230\u
4EBA
\u5458\u6863\u6848\u
4FE1
\u
606F
archives.import.emp.idCard.must
=
\u
8EAB
\u
4EFD
\u
8BC1
\u
5FC5
\u
586B
archives.import.emp.empName.must
=
\u5458\u
5DE5
\u
59D3
\u
540D
\u
5FC5
\u
586B
archives.import.emp.leaveReason.must
=
\u
51CF
\u6863\u
539F
\u
56E0
\u
5FC5
\u
586B
archives.import.emp.leaveRemark.length
=
\u
51CF
\u6863\u5907\u
6CE8
\u
8D85
\u
8FC7200
archives.import.emp.have.project
=
\u7981\u
6B62
\u
201C
\u
51CF
\u6863\u
201D
\u
8BE5
\u
4EBA
\u5458\u
5B58
\u5728\u
201C
\u
6B63
\u
5E38
\u
201D
\u
5B58
\u
7EED
\u7684\u
201C
\u9879\u
76EE
\u6863\u6848\u
201D
...
...
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