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
2ff5eb44
Commit
2ff5eb44
authored
Jul 01, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不良记录导入
parent
4016e023
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
TEmpEducation.java
...ifu/cloud/plus/v1/yifu/archives/entity/TEmpEducation.java
+3
-0
TEmpBadRecordServiceImpl.java
.../yifu/archives/service/impl/TEmpBadRecordServiceImpl.java
+2
-1
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmpEducation.java
View file @
2ff5eb44
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
*/
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
...
@@ -74,6 +75,7 @@ public class TEmpEducation extends BaseEntity {
...
@@ -74,6 +75,7 @@ public class TEmpEducation extends BaseEntity {
/**
/**
* 入学时间
* 入学时间
*/
*/
@DateTimeFormat
(
"yyyy-MM-dd hh:mm:ss"
)
@Schema
(
description
=
"入学时间"
)
@Schema
(
description
=
"入学时间"
)
private
LocalDate
entryDate
;
private
LocalDate
entryDate
;
...
@@ -87,6 +89,7 @@ public class TEmpEducation extends BaseEntity {
...
@@ -87,6 +89,7 @@ public class TEmpEducation extends BaseEntity {
/**
/**
* 结业日期
* 结业日期
*/
*/
@DateTimeFormat
(
"yyyy-MM-dd hh:mm:ss"
)
@Schema
(
description
=
"结业日期"
)
@Schema
(
description
=
"结业日期"
)
private
LocalDate
gradutionDate
;
private
LocalDate
gradutionDate
;
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpBadRecordServiceImpl.java
View file @
2ff5eb44
...
@@ -241,14 +241,15 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T
...
@@ -241,14 +241,15 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T
list
.
clear
();
list
.
clear
();
}
}
}
}
excelWriter
.
finish
();
}
else
{
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"不良记录"
+
index
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"不良记录"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
excelWriter
.
write
(
list
,
writeSheet
);
excelWriter
.
finish
();
}
}
if
(
Common
.
isNotNull
(
list
)){
if
(
Common
.
isNotNull
(
list
)){
list
.
clear
();
list
.
clear
();
}
}
excelWriter
.
finish
();
out
.
flush
();
out
.
flush
();
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
log
.
error
(
"执行异常"
,
e
);
log
.
error
(
"执行异常"
,
e
);
...
...
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