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
ec4be60c
Commit
ec4be60c
authored
Mar 12, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加是否扫描字段
parent
1c9ec763
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
Flow.java
...re/myth-admin-core/src/main/java/com/byit/model/Flow.java
+5
-0
FlowMapper.xml
.../myth-admin-core/src/main/resources/mapper/FlowMapper.xml
+11
-2
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/Flow.java
View file @
ec4be60c
...
@@ -143,6 +143,11 @@ public class Flow implements Serializable {
...
@@ -143,6 +143,11 @@ public class Flow implements Serializable {
*/
*/
@ApiModelProperty
(
"是否修改过 0 是(默认) 1 否"
)
@ApiModelProperty
(
"是否修改过 0 是(默认) 1 否"
)
private
String
isUpdate
;
private
String
isUpdate
;
/**
* 是否能够被线程扫描 1扫描 2不扫描
*/
@ApiModelProperty
(
"是否扫描 1 是(默认) 2 否"
)
private
String
scanMark
;
/**
/**
*/
*/
...
...
byit-myth-core/myth-admin-core/src/main/resources/mapper/FlowMapper.xml
View file @
ec4be60c
...
@@ -25,12 +25,13 @@
...
@@ -25,12 +25,13 @@
<result
column=
"remaining_count"
jdbcType=
"INTEGER"
property=
"remainingCount"
/>
<result
column=
"remaining_count"
jdbcType=
"INTEGER"
property=
"remainingCount"
/>
<result
column=
"schedule_follow"
jdbcType=
"CHAR"
property=
"scheduleFollow"
/>
<result
column=
"schedule_follow"
jdbcType=
"CHAR"
property=
"scheduleFollow"
/>
<result
column=
"is_update"
jdbcType=
"CHAR"
property=
"isUpdate"
/>
<result
column=
"is_update"
jdbcType=
"CHAR"
property=
"isUpdate"
/>
<result
column=
"scan_mark"
jdbcType=
"CHAR"
property=
"scanMark"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
flow_id, alarm_email, exec_type, flow_cron, flow_desc, flow_name, flow_node_count,
flow_id, alarm_email, exec_type, flow_cron, flow_desc, flow_name, flow_node_count,
flow_timeout, is_inner, alarml_action, priority, trigger_next_time, workspace_id,
flow_timeout, is_inner, alarml_action, priority, trigger_next_time, workspace_id,
author, add_time, start_up, principal, version_name, repeat_count, remaining_count,
author, add_time, start_up, principal, version_name, repeat_count, remaining_count,
schedule_follow, is_update
schedule_follow, is_update
, scan_mark
</sql>
</sql>
<select
id=
"findHalfAnHourFlow"
resultMap=
"BaseResultMap"
>
<select
id=
"findHalfAnHourFlow"
resultMap=
"BaseResultMap"
>
...
@@ -149,6 +150,9 @@
...
@@ -149,6 +150,9 @@
<if
test=
"isUpdate != null"
>
<if
test=
"isUpdate != null"
>
is_update,
is_update,
</if>
</if>
<if
test=
"scanMark != null"
>
scan_mark,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
...
@@ -218,7 +222,9 @@
...
@@ -218,7 +222,9 @@
<if
test=
"isUpdate != null"
>
<if
test=
"isUpdate != null"
>
#{isUpdate,jdbcType=CHAR},
#{isUpdate,jdbcType=CHAR},
</if>
</if>
<if
test=
"scanMark != null"
>
#{scanMark,jdbcType=CHAR},
</if>
</trim>
</trim>
</insert>
</insert>
<update
id=
"updateByIdSelective"
parameterType=
"com.byit.model.Flow"
>
<update
id=
"updateByIdSelective"
parameterType=
"com.byit.model.Flow"
>
...
@@ -288,6 +294,9 @@
...
@@ -288,6 +294,9 @@
<if
test=
"isUpdate != null"
>
<if
test=
"isUpdate != null"
>
is_update = #{isUpdate,jdbcType=CHAR},
is_update = #{isUpdate,jdbcType=CHAR},
</if>
</if>
<if
test=
"scanMark != null"
>
scan_mark = #{scanMark,jdbcType=CHAR},
</if>
</set>
</set>
where flow_id = #{flowId,jdbcType=INTEGER}
where flow_id = #{flowId,jdbcType=INTEGER}
</update>
</update>
...
...
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