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 72bf77e2
authored
Sep 19, 2023
by
tiger
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
remove time from XxlJobInfo
1 parent
4fce0e8b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
13 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/XxlJobUtil.java
platform-process/src/main/java/cn/com/glsx/process/job/xxljob/core/XxlJobInfo.java
View file @
72bf77e
package
cn
.
com
.
glsx
.
process
.
job
.
xxljob
.
core
;
import
java.util.Date
;
public
class
XxlJobInfo
{
private
int
id
;
// 主键ID
...
...
@@ -27,7 +25,7 @@ public class XxlJobInfo {
private
String
glueSource
;
// GLUE源代码
private
String
glueRemark
;
// GLUE备注
private
Date
glueUpdatetime
;
// GLUE更新时间
//
private Date glueUpdatetime; // GLUE更新时间
private
String
childJobId
;
// 子任务ID,多个逗号分隔
...
...
@@ -173,13 +171,13 @@ public class XxlJobInfo {
this
.
glueRemark
=
glueRemark
;
}
public
Date
getGlueUpdatetime
()
{
return
glueUpdatetime
;
}
public
void
setGlueUpdatetime
(
Date
glueUpdatetime
)
{
this
.
glueUpdatetime
=
glueUpdatetime
;
}
//
public Date getGlueUpdatetime() {
//
return glueUpdatetime;
//
}
//
//
public void setGlueUpdatetime(Date glueUpdatetime) {
//
this.glueUpdatetime = glueUpdatetime;
//
}
public
String
getChildJobId
()
{
return
childJobId
;
...
...
platform-process/src/main/java/cn/com/glsx/process/job/xxljob/core/XxlJobUtil.java
View file @
72bf77e
...
...
@@ -85,9 +85,9 @@ public class XxlJobUtil {
if
(
byBusKey
!=
null
)
{
jobInfo
.
setId
(
byBusKey
.
getId
());
jobInfo
.
setAddTime
(
null
);
jobInfo
.
setUpdateTime
(
null
);
jobInfo
.
setGlueUpdatetime
(
null
);
//
jobInfo.setAddTime(null);
//
jobInfo.setUpdateTime(null);
//
jobInfo.setGlueUpdatetime(null);
return
doPost
(
adminAddresses
+
UPDATE_URL
,
jobInfo
,
String
.
class
);
}
...
...
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