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
64e3a3b0
Commit
64e3a3b0
authored
Oct 20, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改基于工作流名称暂停工作流BUG
parent
9f699d8b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
35 deletions
+1
-35
RunRecordingMapper.xml
...min-core/src/main/resources/mapper/RunRecordingMapper.xml
+1
-1
PlaceholderUtils.java
...on/src/main/java/com/byit/job/utils/PlaceholderUtils.java
+0
-34
No files found.
byit-myth-core/myth-admin-core/src/main/resources/mapper/RunRecordingMapper.xml
View file @
64e3a3b0
...
...
@@ -254,7 +254,7 @@
<include
refid=
"Base_Column_List"
/>
from run_recording
where flow_id = #{flowId}
and
flow_status != '4'
and schedule_type != 4
and
(flow_status != '4' or flow_status != '1')
and schedule_type != 4
</select>
<select
id=
"findStatusByStartAndEndTime"
resultType=
"com.byit.dto.plugin.StatisticData"
useCache=
"false"
flushCache=
"true"
>
...
...
byit-myth-core/myth-core-common/src/main/java/com/byit/job/utils/PlaceholderUtils.java
View file @
64e3a3b0
...
...
@@ -147,40 +147,6 @@ public class PlaceholderUtils {
}
return
JSON
.
toJSONString
(
scriptParamAndPlaceholderDto
);
}
public
static
void
main
(
String
[]
args
)
{
/*ScriptParamAndPlaceholderDto sc = new ScriptParamAndPlaceholderDto();
Map<String,String> m1 = new HashMap<>(2);
Map<String,String> m2 = new HashMap<>(2);
m1.put(PlaceholderEnum.DATE_PLACEHOLDER.getName(),"2018年12月12日");
m1.put("name","狗子");
m2.put(PlaceholderEnum.DATE_PLACEHOLDER.getName(),"2010年10月10日");
m2.put("age","1000");
sc.setPlaceholder(m2);
sc.setParam(m1);
String jsonString = JSON.toJSONString(sc);
String s = PlaceholderUtils.paramPlaceholder(jsonString, "2020/3/12 15:13");
System.out.println(s);*/
/*
System.out.println(initCommand("python ${biz_file}","D:/2020project/byit-myth-job/demo-client/byit-demo-client/src/main/java/com/byit/job/Mains.java"));
*/
System
.
out
.
println
(
commandReplace
(
"python test.py"
,
new
HashMap
<
String
,
String
>()
{{
put
(
"name"
,
"张三"
);
put
(
"age"
,
"14"
);
put
(
"sex"
,
"男"
);
}}));
}
}
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