Commit da85a076 by huangfusuper

修改扩展配置字段长度和字段类型

parent 2a8da156
......@@ -26,7 +26,7 @@
<result column="schedule_follow" jdbcType="CHAR" property="scheduleFollow" />
<result column="is_update" jdbcType="CHAR" property="isUpdate" />
<result column="scan_mark" jdbcType="CHAR" property="scanMark" />
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration" />
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration" />
</resultMap>
<sql id="Base_Column_List">
flow_id, alarm_email, exec_type, flow_cron, flow_desc, flow_name, flow_node_count,
......@@ -282,7 +282,7 @@
#{scanMark,jdbcType=CHAR},
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -358,7 +358,7 @@
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where flow_id = #{flowId,jdbcType=INTEGER}
......
......@@ -23,7 +23,7 @@
<result column="principal" jdbcType="VARCHAR" property="principal" />
<result column="version_name" jdbcType="VARCHAR" property="versionName" />
<result column="is_inner" jdbcType="CHAR" property="isInner" />
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration" />
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration" />
</resultMap>
<sql id="Base_Column_List">
<!-- generated @mbg.generated date: 2019-12-31 -->
......@@ -206,7 +206,7 @@
#{isInner,jdbcType=CHAR},
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -272,7 +272,7 @@
is_inner = #{isInner,jdbcType=CHAR},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where flow_version_id = #{flowVersionId,jdbcType=INTEGER}
......
......@@ -37,7 +37,7 @@
<result column="node_depend" jdbcType="VARCHAR" property="nodeDepend"/>
<result column="operator" jdbcType="VARCHAR" property="operator"/>
<result column="schedule_type" jdbcType="INTEGER" property="scheduleType"/>
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration"/>
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration"/>
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.byit.model.JobTask">
<!-- generated @mbg.generated date: 2019-12-25 -->
......@@ -315,7 +315,7 @@
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -340,7 +340,7 @@
#{jobTask.versionName,jdbcType=VARCHAR},#{jobTask.runCommand,jdbcType=VARCHAR},#{jobTask.runSource,jdbcType=LONGVARCHAR},
#{jobTask.flowName,jdbcType=VARCHAR},#{jobTask.superSuccessRun,jdbcType=CHAR},#{jobTask.reRunId,jdbcType=VARCHAR},
#{jobTask.logId,jdbcType=INTEGER},#{jobTask.nodeDepend,jdbcType=VARCHAR},#{jobTask.operator,jdbcType=VARCHAR},
#{jobTask.scheduleType,jdbcType=INTEGER}, #{jobTask.extendedConfiguration,jdbcType=VARCHAR}
#{jobTask.scheduleType,jdbcType=INTEGER}, #{jobTask.extendedConfiguration}
)
</foreach>
</insert>
......@@ -452,7 +452,7 @@
schedule_type = #{scheduleType,jdbcType=INTEGER},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
......
......@@ -34,7 +34,7 @@
<result column="operator" jdbcType="VARCHAR" property="operator"/>
<result column="schedule_type" jdbcType="INTEGER" property="scheduleType"/>
<result column="script_urls" jdbcType="VARCHAR" property="scriptUrls"/>
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration"/>
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration"/>
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.byit.model.JobTaskRunLogWithBLOBs">
<result column="run_msg" jdbcType="LONGVARCHAR" property="runMsg" />
......@@ -470,7 +470,7 @@
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -577,7 +577,7 @@
script_urls = #{scriptUrls,jdbcType=VARCHAR},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where log_id = #{logId,jdbcType=INTEGER}
......@@ -679,7 +679,7 @@
script_urls = #{scriptUrls,jdbcType=VARCHAR},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where log_id = #{logId,jdbcType=INTEGER}
......
......@@ -37,7 +37,7 @@
<result column="node_depend" jdbcType="VARCHAR" property="nodeDepend"/>
<result column="operator" jdbcType="VARCHAR" property="operator"/>
<result column="schedule_type" jdbcType="INTEGER" property="scheduleType"/>
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration"/>
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration"/>
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.byit.model.JobTaskSchedule">
......@@ -301,7 +301,7 @@
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -344,7 +344,7 @@
#{jobTaskSchedule.flowName,jdbcType=VARCHAR}, #{jobTaskSchedule.superSuccessRun,jdbcType=CHAR},
#{jobTaskSchedule.reRunId,jdbcType=VARCHAR}, #{jobTaskSchedule.nodeDepend,jdbcType=VARCHAR},
#{jobTaskSchedule.operator,jdbcType=VARCHAR}, #{jobTaskSchedule.scheduleType,jdbcType=INTEGER},
#{jobTaskSchedule.extendedConfiguration,jdbcType=VARCHAR}
#{jobTaskSchedule.extendedConfiguration}
)
</foreach>
</insert>
......@@ -456,7 +456,7 @@
schedule_type = #{scheduleType,jdbcType=INTEGER},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
......
......@@ -35,7 +35,7 @@
<result column="on_fork" jdbcType="CHAR" property="onFork" />
<result column="run_command" jdbcType="VARCHAR" property="runCommand" />
<result column="super_success_run" jdbcType="CHAR" property="superSuccessRun"/>
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration"/>
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration"/>
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.byit.model.Node">
<!-- generated @mbg.generated date: 2019-12-31 -->
......@@ -386,7 +386,7 @@
#{superSuccessRun,jdbcType=CHAR},
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -502,7 +502,7 @@
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where node_id = #{nodeId,jdbcType=INTEGER}
......
......@@ -37,7 +37,7 @@
<result column="on_fork" jdbcType="CHAR" property="onFork" />
<result column="run_command" jdbcType="VARCHAR" property="runCommand" />
<result column="super_success_run" jdbcType="CHAR" property="superSuccessRun"/>
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration"/>
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration"/>
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.byit.model.NodeVersion">
<!-- generated @mbg.generated date: 2019-12-31 -->
......@@ -323,7 +323,7 @@
#{superSuccessRun,jdbcType=CHAR},
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -442,7 +442,7 @@
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where node_version_id = #{nodeVersionId,jdbcType=INTEGER}
......
......@@ -28,7 +28,7 @@
<result column="workspace_id" jdbcType="INTEGER" property="workspaceId" />
<result column="repeat_time" jdbcType="VARCHAR" property="repeatTime" />
<result column="stop_count" jdbcType="INTEGER" property="stopCount" />
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration" />
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration" />
</resultMap>
<sql id="Base_Column_List">
recording_id, run_id, alarm_email, dispatch_ip, flow_name, flow_run_result, flow_status,
......@@ -550,7 +550,7 @@
#{stopCount,jdbcType=VARCHAR},
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -633,7 +633,7 @@
stop_count = #{stopCount,jdbcType=VARCHAR},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where recording_id = #{recordingId,jdbcType=INTEGER}
......@@ -718,7 +718,7 @@
stop_count = #{stopCount,jdbcType=VARCHAR},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where flow_id = #{flowId,jdbcType=INTEGER} and run_id = #{runId,jdbcType=VARCHAR}
......
......@@ -21,7 +21,7 @@
<result column="run_id" jdbcType="VARCHAR" property="runId" />
<result column="repeat_time" jdbcType="VARCHAR" property="repeatTime" />
<result column="workspace_id" jdbcType="INTEGER" property="workspaceId" />
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration" />
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration" />
</resultMap>
<sql id="Base_Column_List">
<!-- generated @mbg.generated date: 2020-03-12 -->
......@@ -210,7 +210,7 @@
#{workspaceId,jdbcType=INTEGER},
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -271,7 +271,7 @@
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where wait_id = #{waitId,jdbcType=INTEGER}
......
......@@ -35,7 +35,7 @@
<result column="node_depend" jdbcType="VARCHAR" property="nodeDepend" />
<result column="operator" jdbcType="VARCHAR" property="operator" />
<result column="schedule_type" jdbcType="INTEGER" property="scheduleType" />
<result column="extended_configuration" jdbcType="VARCHAR" property="extendedConfiguration"/>
<result column="extended_configuration" jdbcType="LONGVARCHAR" property="extendedConfiguration"/>
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.byit.model.WaitingTask">
......@@ -309,7 +309,7 @@
#{runSource,jdbcType=LONGVARCHAR},
</if>
<if test="extendedConfiguration != null">
#{extendedConfiguration,jdbcType=VARCHAR},
#{extendedConfiguration},
</if>
</trim>
</insert>
......@@ -414,7 +414,7 @@
run_source = #{runSource,jdbcType=LONGVARCHAR},
</if>
<if test="extendedConfiguration != null">
extended_configuration = #{extendedConfiguration,jdbcType=VARCHAR},
extended_configuration = #{extendedConfiguration},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
......
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