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
e0a6ed91
Commit
e0a6ed91
authored
Oct 30, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正查询实例状态接口
parent
a4e09c98
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
ApiFlowFindServiceImpl.java
...in/java/com/byit/service/impl/ApiFlowFindServiceImpl.java
+1
-1
ApiFlowOperatingServiceImpl.java
...va/com/byit/service/impl/ApiFlowOperatingServiceImpl.java
+1
-0
RunRecordingStatusDto.java
...in/java/com/byit/dto/recording/RunRecordingStatusDto.java
+6
-6
MakeUpReturn.java
...ore/src/main/java/com/byit/dto/specials/MakeUpReturn.java
+1
-0
No files found.
byit-myth-admin/src/main/java/com/byit/service/impl/ApiFlowFindServiceImpl.java
View file @
e0a6ed91
...
...
@@ -60,7 +60,7 @@ public class ApiFlowFindServiceImpl implements ApiFlowFindService {
}
else
if
(
RunRecordingEnum
.
FLOW_STATUS_RUN_ING
.
getCode
().
equals
(
runRecording
.
getFlowStatus
()))
{
//运行中
runRecordingStatusDto
.
setStatus
(
RunRecordingStatusDto
.
RUN_ING
);
}
else
if
(
RunRecordingEnum
.
FLOW_STATUS_IS_STOP
.
getCode
().
equals
(
RunRecordingStatusDto
.
RUN_ING
)){
}
else
if
(
RunRecordingEnum
.
FLOW_STATUS_IS_STOP
.
getCode
().
equals
(
runRecording
.
getFlowStatus
()
)){
//运行中
runRecordingStatusDto
.
setStatus
(
RunRecordingStatusDto
.
RUN_ING
);
}
else
if
(
RunRecordingEnum
.
FLOW_STATUS_IS_END
.
getCode
().
equals
(
runRecording
.
getFlowStatus
())){
...
...
byit-myth-admin/src/main/java/com/byit/service/impl/ApiFlowOperatingServiceImpl.java
View file @
e0a6ed91
...
...
@@ -144,6 +144,7 @@ public class ApiFlowOperatingServiceImpl implements ApiFlowOperatingService {
MakeUpReturn
makeUpReturn
=
new
MakeUpReturn
();
makeUpReturn
.
setFlowName
(
waitingRecord
.
getFlowName
());
makeUpReturn
.
setRunId
(
waitingRecord
.
getRunId
());
makeUpReturn
.
setRepairTime
(
waitingRecord
.
getRepeatTime
());
return
makeUpReturn
;
}).
collect
(
Collectors
.
toList
());
}
...
...
byit-myth-core/myth-dto-core/src/main/java/com/byit/dto/recording/RunRecordingStatusDto.java
View file @
e0a6ed91
...
...
@@ -17,20 +17,20 @@ public class RunRecordingStatusDto implements Serializable {
/**
* 排队中
*/
public
static
final
String
QUEUE_ING
=
"1"
;
public
static
final
Integer
QUEUE_ING
=
1
;
/**
* 运行中
*/
public
static
final
String
RUN_ING
=
"2"
;
public
static
final
Integer
RUN_ING
=
2
;
/**
* 成功
*/
public
static
final
String
SUCCESS
=
"3"
;
public
static
final
Integer
SUCCESS
=
3
;
/**
* 失败
*/
public
static
final
String
FAILURE
=
"4"
;
public
static
final
Integer
FAILURE
=
4
;
private
String
flowName
;
private
String
runId
;
...
...
@@ -38,6 +38,6 @@ public class RunRecordingStatusDto implements Serializable {
* 对应DDMP的质检状态: 1:排队中; 2:质检中; 3:质检完成; 4:质检失败
* 对应调度的运行状态: 1:未开始; 2:运行中/暂停中 4-1|4-3:成功 4-2|4-4|4-5:失败
*/
private
String
status
;
private
String
statusDetails
=
"1:排队中; 2:质检中; 3:质检完成; 4:质检失败"
;
private
Integer
status
;
private
final
String
statusDetails
=
"1:排队中; 2:质检中; 3:质检完成; 4:质检失败"
;
}
byit-myth-core/myth-dto-core/src/main/java/com/byit/dto/specials/MakeUpReturn.java
View file @
e0a6ed91
...
...
@@ -16,4 +16,5 @@ public class MakeUpReturn implements Serializable {
private
static
final
long
serialVersionUID
=
-
2055527438048313575L
;
private
String
flowName
;
private
String
runId
;
private
String
repairTime
;
}
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