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
bab10141
Commit
bab10141
authored
May 15, 2020
by
guominglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将统计所有的工作流的执行次数改为统计剩余执行次数不为零的
parent
6db325c2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
StatusSnapshootThreadRunHelper.java
...om/byit/thread/helper/StatusSnapshootThreadRunHelper.java
+1
-1
FlowMapper.xml
.../myth-admin-core/src/main/resources/mapper/FlowMapper.xml
+1
-0
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/thread/helper/StatusSnapshootThreadRunHelper.java
View file @
bab10141
...
...
@@ -55,7 +55,7 @@ public class StatusSnapshootThreadRunHelper extends BaseThreadRunHelper {
log
.
info
(
"没有工作流无需记录---"
);
return
(
60
-
LocalDateTime
.
now
().
getMinute
())
*
60
*
1000L
;
}
else
{
//获取所有的工作流
//获取所有
剩余执行次数不为零
的工作流
List
<
Flow
>
flowList
=
flowMapper
.
findAll
();
if
(
flowList
!=
null
&&
flowList
.
size
()
>
0
){
LocalDateTime
hourDateTime
=
localDateTime
...
...
byit-myth-core/myth-admin-core/src/main/resources/mapper/FlowMapper.xml
View file @
bab10141
...
...
@@ -90,6 +90,7 @@
select
<include
refid=
"Base_Column_List"
/>
from flow
where remaining_count != 0
</select>
<select
id=
"findAllByCondition"
parameterType=
"com.byit.dto.FlowConditionDto"
resultMap=
"BaseResultMap"
>
...
...
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