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
c518d293
Commit
c518d293
authored
Jun 28, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
证明代码优化
parent
854d6536
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
EmpDisabilityExcelVO.java
.../cloud/plus/v1/yifu/archives/vo/EmpDisabilityExcelVO.java
+2
-2
EmpEducationExcelVO.java
...u/cloud/plus/v1/yifu/archives/vo/EmpEducationExcelVO.java
+2
-2
EmpFamilyExcelVO.java
...yifu/cloud/plus/v1/yifu/archives/vo/EmpFamilyExcelVO.java
+1
-1
EmpWorkRecordExcelVO.java
.../cloud/plus/v1/yifu/archives/vo/EmpWorkRecordExcelVO.java
+2
-2
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpDisabilityExcelVO.java
View file @
c518d293
...
@@ -68,7 +68,7 @@ public class EmpDisabilityExcelVO extends RowIndex implements Serializable {
...
@@ -68,7 +68,7 @@ public class EmpDisabilityExcelVO extends RowIndex implements Serializable {
@ExcelAttribute
(
name
=
"伤残开始日期"
,
isNotEmpty
=
true
,
errorInfo
=
"伤残开始日期不能为空"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"伤残开始日期"
,
isNotEmpty
=
true
,
errorInfo
=
"伤残开始日期不能为空"
,
isDate
=
true
)
@NotNull
(
message
=
"伤残开始日期不能为空"
)
@NotNull
(
message
=
"伤残开始日期不能为空"
)
@Past
@Past
@DateTimeFormat
(
"
YYYY
-MM-dd"
)
@DateTimeFormat
(
"
yyyy
-MM-dd"
)
@ExcelProperty
(
value
=
"伤残开始日期"
)
@ExcelProperty
(
value
=
"伤残开始日期"
)
private
Date
startTime
;
private
Date
startTime
;
...
@@ -78,7 +78,7 @@ public class EmpDisabilityExcelVO extends RowIndex implements Serializable {
...
@@ -78,7 +78,7 @@ public class EmpDisabilityExcelVO extends RowIndex implements Serializable {
@ExcelAttribute
(
name
=
"伤残结束日期"
,
isNotEmpty
=
true
,
errorInfo
=
"伤残结束日期不能为空"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"伤残结束日期"
,
isNotEmpty
=
true
,
errorInfo
=
"伤残结束日期不能为空"
,
isDate
=
true
)
@NotNull
(
message
=
"伤残结束日期不能为空"
)
@NotNull
(
message
=
"伤残结束日期不能为空"
)
@Past
@Past
@DateTimeFormat
(
"
YYYY
-MM-dd"
)
@DateTimeFormat
(
"
yyyy
-MM-dd"
)
@ExcelProperty
(
value
=
"伤残结束日期"
)
@ExcelProperty
(
value
=
"伤残结束日期"
)
private
Date
endTime
;
private
Date
endTime
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpEducationExcelVO.java
View file @
c518d293
...
@@ -96,7 +96,7 @@ public class EmpEducationExcelVO extends RowIndex implements Serializable {
...
@@ -96,7 +96,7 @@ public class EmpEducationExcelVO extends RowIndex implements Serializable {
*/
*/
@ExcelAttribute
(
name
=
"入学时间"
,
errorInfo
=
"入学时间不可为空"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"入学时间"
,
errorInfo
=
"入学时间不可为空"
,
isDate
=
true
)
@NotNull
(
message
=
"入学时间不可为空"
)
@NotNull
(
message
=
"入学时间不可为空"
)
@DateTimeFormat
(
"
YYYY
-MM-dd"
)
@DateTimeFormat
(
"
yyyy
-MM-dd"
)
@ExcelProperty
(
value
=
"入学时间"
)
@ExcelProperty
(
value
=
"入学时间"
)
private
Date
entryDate
;
private
Date
entryDate
;
...
@@ -105,7 +105,7 @@ public class EmpEducationExcelVO extends RowIndex implements Serializable {
...
@@ -105,7 +105,7 @@ public class EmpEducationExcelVO extends RowIndex implements Serializable {
*/
*/
@ExcelAttribute
(
name
=
"毕业时间"
,
errorInfo
=
"毕业时间不可为空"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"毕业时间"
,
errorInfo
=
"毕业时间不可为空"
,
isDate
=
true
)
@NotNull
(
message
=
"毕业时间不可为空"
)
@NotNull
(
message
=
"毕业时间不可为空"
)
@DateTimeFormat
(
"
YYYY
-MM-dd"
)
@DateTimeFormat
(
"
yyyy
-MM-dd"
)
@ExcelProperty
(
value
=
"毕业时间"
)
@ExcelProperty
(
value
=
"毕业时间"
)
private
Date
gradutionDate
;
private
Date
gradutionDate
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpFamilyExcelVO.java
View file @
c518d293
...
@@ -58,7 +58,7 @@ public class EmpFamilyExcelVO extends RowIndex implements Serializable {
...
@@ -58,7 +58,7 @@ public class EmpFamilyExcelVO extends RowIndex implements Serializable {
*/
*/
@ExcelAttribute
(
name
=
"出生日期"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"出生日期"
,
isDate
=
true
)
@Past
@Past
@DateTimeFormat
(
"
YYYY
-MM-dd"
)
@DateTimeFormat
(
"
yyyy
-MM-dd"
)
@ExcelProperty
(
value
=
"出生日期"
)
@ExcelProperty
(
value
=
"出生日期"
)
private
Date
birthday
;
private
Date
birthday
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpWorkRecordExcelVO.java
View file @
c518d293
...
@@ -79,7 +79,7 @@ public class EmpWorkRecordExcelVO extends RowIndex implements Serializable {
...
@@ -79,7 +79,7 @@ public class EmpWorkRecordExcelVO extends RowIndex implements Serializable {
* 开始工作日期
* 开始工作日期
*/
*/
@ExcelAttribute
(
name
=
"开始工作日期"
,
errorInfo
=
"开始工作日期不可为空"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"开始工作日期"
,
errorInfo
=
"开始工作日期不可为空"
,
isDate
=
true
)
@DateTimeFormat
(
"
YYYY
-MM-dd"
)
@DateTimeFormat
(
"
yyyy
-MM-dd"
)
@NotNull
(
message
=
"开始工作日期不可为空"
)
@NotNull
(
message
=
"开始工作日期不可为空"
)
@ExcelProperty
(
value
=
"开始工作日期"
)
@ExcelProperty
(
value
=
"开始工作日期"
)
private
Date
startDate
;
private
Date
startDate
;
...
@@ -88,7 +88,7 @@ public class EmpWorkRecordExcelVO extends RowIndex implements Serializable {
...
@@ -88,7 +88,7 @@ public class EmpWorkRecordExcelVO extends RowIndex implements Serializable {
* 结束工作日期
* 结束工作日期
*/
*/
@ExcelAttribute
(
name
=
"结束工作日期"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"结束工作日期"
,
isDate
=
true
)
@DateTimeFormat
(
"
YYYY
-MM-dd"
)
@DateTimeFormat
(
"
yyyy
-MM-dd"
)
@ExcelProperty
(
value
=
"结束工作日期"
)
@ExcelProperty
(
value
=
"结束工作日期"
)
private
Date
endDate
;
private
Date
endDate
;
...
...
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