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
e476b04b
Commit
e476b04b
authored
Jun 17, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础档案新增字段及必填调整
parent
b75bd5aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
TEmpWorkRecording.java
...cloud/plus/v1/yifu/archives/entity/TEmpWorkRecording.java
+7
-0
EmpWorkRecordExcelVO.java
.../cloud/plus/v1/yifu/archives/vo/EmpWorkRecordExcelVO.java
+6
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmpWorkRecording.java
View file @
e476b04b
...
@@ -128,4 +128,11 @@ public class TEmpWorkRecording extends BaseEntity {
...
@@ -128,4 +128,11 @@ public class TEmpWorkRecording extends BaseEntity {
@Schema
(
description
=
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
private
String
remark
;
/**
* 是否为首份工作 0是/1否
*/
@Schema
(
description
=
"是否为首份工作 0是/1否"
)
private
String
firstWorkFlag
;
}
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpWorkRecordExcelVO.java
View file @
e476b04b
...
@@ -7,6 +7,7 @@ import com.alibaba.excel.annotation.write.style.HeadFontStyle;
...
@@ -7,6 +7,7 @@ import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
@@ -104,6 +105,11 @@ public class EmpWorkRecordExcelVO extends RowIndex implements Serializable {
...
@@ -104,6 +105,11 @@ public class EmpWorkRecordExcelVO extends RowIndex implements Serializable {
@ExcelProperty
(
value
=
"结束工作日期"
)
@ExcelProperty
(
value
=
"结束工作日期"
)
private
Date
endDate
;
private
Date
endDate
;
/**
* 是否为首份工作 0是/1否
*/
@Schema
(
description
=
"是否为首份工作 0是/1否"
)
private
String
firstWorkFlag
;
/*JSR303 是一套JavaBean参数校验的标准,它定义了很多常用的校验注解,我们可以直接将这些注解加在我们JavaBean的属性上面,就可以在需要校验的时候进行校验了。注解如下:
/*JSR303 是一套JavaBean参数校验的标准,它定义了很多常用的校验注解,我们可以直接将这些注解加在我们JavaBean的属性上面,就可以在需要校验的时候进行校验了。注解如下:
参考配置
参考配置
...
...
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