Commit ec4be60c by huangfusuper

添加是否扫描字段

parent 1c9ec763
......@@ -143,6 +143,11 @@ public class Flow implements Serializable {
*/
@ApiModelProperty("是否修改过 0 是(默认) 1 否")
private String isUpdate;
/**
* 是否能够被线程扫描 1扫描 2不扫描
*/
@ApiModelProperty("是否扫描 1 是(默认) 2 否")
private String scanMark;
/**
*/
......
......@@ -25,12 +25,13 @@
<result column="remaining_count" jdbcType="INTEGER" property="remainingCount" />
<result column="schedule_follow" jdbcType="CHAR" property="scheduleFollow" />
<result column="is_update" jdbcType="CHAR" property="isUpdate" />
<result column="scan_mark" jdbcType="CHAR" property="scanMark" />
</resultMap>
<sql id="Base_Column_List">
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,
author, add_time, start_up, principal, version_name, repeat_count, remaining_count,
schedule_follow, is_update
schedule_follow, is_update, scan_mark
</sql>
<select id="findHalfAnHourFlow" resultMap="BaseResultMap">
......@@ -149,6 +150,9 @@
<if test="isUpdate != null">
is_update,
</if>
<if test="scanMark != null">
scan_mark,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
......@@ -218,7 +222,9 @@
<if test="isUpdate != null">
#{isUpdate,jdbcType=CHAR},
</if>
<if test="scanMark != null">
#{scanMark,jdbcType=CHAR},
</if>
</trim>
</insert>
<update id="updateByIdSelective" parameterType="com.byit.model.Flow">
......@@ -288,6 +294,9 @@
<if test="isUpdate != null">
is_update = #{isUpdate,jdbcType=CHAR},
</if>
<if test="scanMark != null">
scan_mark = #{scanMark,jdbcType=CHAR},
</if>
</set>
where flow_id = #{flowId,jdbcType=INTEGER}
</update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment