Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
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
liyuan
byit-myth-job
Commits
e2653a46
Commit
e2653a46
authored
Jul 22, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加开始时间
parent
c2ebb8f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ApiNodeServiceImpl.java
...c/main/java/com/byit/service/impl/ApiNodeServiceImpl.java
+1
-0
JavaNodeExecutorTask.java
...ore/src/main/java/com/byit/task/JavaNodeExecutorTask.java
+1
-0
No files found.
byit-myth-admin/src/main/java/com/byit/service/impl/ApiNodeServiceImpl.java
View file @
e2653a46
...
@@ -103,6 +103,7 @@ public class ApiNodeServiceImpl implements ApiNodeService {
...
@@ -103,6 +103,7 @@ public class ApiNodeServiceImpl implements ApiNodeService {
JobTaskRunLogWithBLOBs
jobTaskRunLog
=
new
JobTaskRunLogWithBLOBs
();
JobTaskRunLogWithBLOBs
jobTaskRunLog
=
new
JobTaskRunLogWithBLOBs
();
BeanUtils
.
copyProperties
(
schedule
,
jobTaskRunLog
);
BeanUtils
.
copyProperties
(
schedule
,
jobTaskRunLog
);
jobTaskRunLog
.
setStartTime
(
new
Date
());
jobTaskRunLog
.
setStartTime
(
new
Date
());
jobTaskRunLog
.
setTriggerTime
(
new
Date
());
jobTaskRunLogService
.
saveJobTaskRunLog
(
jobTaskRunLog
);
jobTaskRunLogService
.
saveJobTaskRunLog
(
jobTaskRunLog
);
//获取日志id
//获取日志id
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/task/JavaNodeExecutorTask.java
View file @
e2653a46
...
@@ -84,6 +84,7 @@ public class JavaNodeExecutorTask implements TimerTask {
...
@@ -84,6 +84,7 @@ public class JavaNodeExecutorTask implements TimerTask {
request
.
setExtension
(
jobTaskRunLogById
.
getLogId
()+
""
);
request
.
setExtension
(
jobTaskRunLogById
.
getLogId
()+
""
);
jobTaskRunLogById
.
setLogId
(
jobTaskRunLogById
.
getLogId
());
jobTaskRunLogById
.
setLogId
(
jobTaskRunLogById
.
getLogId
());
jobTaskRunLogById
.
setStartTime
(
new
Date
());
jobTaskRunLogById
.
setStartTime
(
new
Date
());
jobTaskRunLogById
.
setTriggerTime
(
new
Date
());
PluginRpcResponsePacket
pluginRpcResponsePacket
=
service
.
runJava
(
request
);
PluginRpcResponsePacket
pluginRpcResponsePacket
=
service
.
runJava
(
request
);
if
(
pluginRpcResponsePacket
.
isStatus
()){
if
(
pluginRpcResponsePacket
.
isStatus
()){
...
...
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