Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-process-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3bd38d56
authored
Sep 15, 2023
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]增加时间注解
1 parent
554f2b9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
platform-process/src/main/java/cn/com/glsx/process/job/xxljob/core/XxlJobInfo.java
platform-process/src/main/java/cn/com/glsx/process/job/xxljob/core/XxlJobInfo.java
View file @
3bd38d5
package
cn
.
com
.
glsx
.
process
.
job
.
xxljob
.
core
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.util.Date
;
public
class
XxlJobInfo
{
...
...
@@ -9,7 +12,12 @@ public class XxlJobInfo {
private
int
jobGroup
;
// 执行器主键ID
private
String
jobDesc
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+08:00"
)
private
Date
addTime
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+08:00"
)
private
Date
updateTime
;
private
String
author
;
// 负责人
...
...
@@ -29,6 +37,9 @@ public class XxlJobInfo {
private
String
glueType
;
// GLUE类型 #com.xxl.job.core.glue.GlueTypeEnum
private
String
glueSource
;
// GLUE源代码
private
String
glueRemark
;
// GLUE备注
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+08:00"
)
private
Date
glueUpdatetime
;
// GLUE更新时间
private
String
childJobId
;
// 子任务ID,多个逗号分隔
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment