Commit c34a7c3a by huangfusuper

【表增加字段】增加表字段

parent c3efbaf9
...@@ -230,7 +230,7 @@ public class JobTask implements Serializable { ...@@ -230,7 +230,7 @@ public class JobTask implements Serializable {
* 创建人 * 创建人
*/ */
@ApiModelProperty("版本id") @ApiModelProperty("版本id")
private String versionId; private Integer versionId;
/** /**
* 创建人 * 创建人
*/ */
......
...@@ -237,7 +237,7 @@ public class JobTaskSchedule implements Serializable { ...@@ -237,7 +237,7 @@ public class JobTaskSchedule implements Serializable {
* 创建人 * 创建人
*/ */
@ApiModelProperty("版本id") @ApiModelProperty("版本id")
private String versionId; private Integer versionId;
/** /**
* 创建人 * 创建人
*/ */
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<result column="run_source" jdbcType="LONGVARCHAR" property="runSource" /> <result column="run_source" jdbcType="LONGVARCHAR" property="runSource" />
<result column="add_time" jdbcType="DATE" property="addTime" /> <result column="add_time" jdbcType="DATE" property="addTime" />
<result column="author" jdbcType="VARCHAR" property="author" /> <result column="author" jdbcType="VARCHAR" property="author" />
<result column="version_id" jdbcType="VARCHAR" property="versionId" /> <result column="version_id" jdbcType="INTEGER" property="versionId" />
<result column="version_name" jdbcType="VARCHAR" property="versionName" /> <result column="version_name" jdbcType="VARCHAR" property="versionName" />
</resultMap> </resultMap>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
#{routingStrategy,jdbcType=VARCHAR}, #{runId,jdbcType=VARCHAR}, #{runParam,jdbcType=VARCHAR}, #{routingStrategy,jdbcType=VARCHAR}, #{runId,jdbcType=VARCHAR}, #{runParam,jdbcType=VARCHAR},
#{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR}, #{sourcePrincipal,jdbcType=VARCHAR}, #{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR}, #{sourcePrincipal,jdbcType=VARCHAR},
#{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT}, #{triggerStatus,jdbcType=CHAR}, #{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT}, #{triggerStatus,jdbcType=CHAR},
#{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR},#{versionId,jdbcType=VARCHAR}, #{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR},#{versionId,jdbcType=INTEGER},
#{versionName,jdbcType=VARCHAR}) #{versionName,jdbcType=VARCHAR})
</insert> </insert>
<!--动态数据添加--> <!--动态数据添加-->
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
#{author,jdbcType=VARCHAR}, #{author,jdbcType=VARCHAR},
</if> </if>
<if test="versionId != null"> <if test="versionId != null">
#{versionId,jdbcType=VARCHAR}, #{versionId,jdbcType=INTEGER},
</if> </if>
<if test="versionName != null"> <if test="versionName != null">
#{versionName,jdbcType=VARCHAR}, #{versionName,jdbcType=VARCHAR},
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
author = #{author,jdbcType=VARCHAR}, author = #{author,jdbcType=VARCHAR},
</if> </if>
<if test="versionId != null"> <if test="versionId != null">
version_id = #{versionId,jdbcType=VARCHAR}, version_id = #{versionId,jdbcType=INTEGER},
</if> </if>
<if test="versionName != null"> <if test="versionName != null">
version_name = #{versionName,jdbcType=VARCHAR}, version_name = #{versionName,jdbcType=VARCHAR},
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<result column="run_source" jdbcType="LONGVARCHAR" property="runSource" /> <result column="run_source" jdbcType="LONGVARCHAR" property="runSource" />
<result column="add_time" jdbcType="DATE" property="addTime" /> <result column="add_time" jdbcType="DATE" property="addTime" />
<result column="author" jdbcType="VARCHAR" property="author" /> <result column="author" jdbcType="VARCHAR" property="author" />
<result column="version_id" jdbcType="VARCHAR" property="versionId" /> <result column="version_id" jdbcType="INTEGER" property="versionId" />
<result column="version_name" jdbcType="VARCHAR" property="versionName" /> <result column="version_name" jdbcType="VARCHAR" property="versionName" />
</resultMap> </resultMap>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
#{runParam,jdbcType=VARCHAR}, #{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR}, #{runParam,jdbcType=VARCHAR}, #{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR},
#{sourcePrincipal,jdbcType=VARCHAR}, #{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT}, #{sourcePrincipal,jdbcType=VARCHAR}, #{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT},
#{triggerStatus,jdbcType=CHAR}, #{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR}, #{triggerStatus,jdbcType=CHAR}, #{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR},
#{versionId,jdbcType=VARCHAR}, #{versionName,jdbcType=VARCHAR}) #{versionId,jdbcType=INTEGER}, #{versionName,jdbcType=VARCHAR})
</insert> </insert>
<insert id="insertSelective" parameterType="com.byit.model.JobTaskSchedule"> <insert id="insertSelective" parameterType="com.byit.model.JobTaskSchedule">
insert into job_task_schedule insert into job_task_schedule
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
#{author,jdbcType=VARCHAR}, #{author,jdbcType=VARCHAR},
</if> </if>
<if test="versionId != null"> <if test="versionId != null">
#{versionId,jdbcType=VARCHAR}, #{versionId,jdbcType=INTEGER},
</if> </if>
<if test="versionName != null"> <if test="versionName != null">
#{versionName,jdbcType=VARCHAR}, #{versionName,jdbcType=VARCHAR},
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
#{jobTaskSchedule.runParam,jdbcType=VARCHAR}, #{jobTaskSchedule.runSourceDesc,jdbcType=VARCHAR}, #{jobTaskSchedule.scriptUrls,jdbcType=VARCHAR}, #{jobTaskSchedule.runParam,jdbcType=VARCHAR}, #{jobTaskSchedule.runSourceDesc,jdbcType=VARCHAR}, #{jobTaskSchedule.scriptUrls,jdbcType=VARCHAR},
#{jobTaskSchedule.sourcePrincipal,jdbcType=VARCHAR}, #{jobTaskSchedule.sourceUpdateTime,jdbcType=DATE}, #{jobTaskSchedule.triggerNextTime,jdbcType=BIGINT}, #{jobTaskSchedule.sourcePrincipal,jdbcType=VARCHAR}, #{jobTaskSchedule.sourceUpdateTime,jdbcType=DATE}, #{jobTaskSchedule.triggerNextTime,jdbcType=BIGINT},
#{jobTaskSchedule.triggerStatus,jdbcType=CHAR}, #{jobTaskSchedule.runSource,jdbcType=LONGVARCHAR},#{jobTaskSchedule.addTime,jdbcType=DATE}, #{jobTaskSchedule.triggerStatus,jdbcType=CHAR}, #{jobTaskSchedule.runSource,jdbcType=LONGVARCHAR},#{jobTaskSchedule.addTime,jdbcType=DATE},
#{jobTaskSchedule.author,jdbcType=VARCHAR},#{jobTaskSchedule.versionId,jdbcType=VARCHAR}, #{jobTaskSchedule.versionName,jdbcType=VARCHAR}) #{jobTaskSchedule.author,jdbcType=VARCHAR},#{jobTaskSchedule.versionId,jdbcType=INTEGER}, #{jobTaskSchedule.versionName,jdbcType=VARCHAR})
</foreach> </foreach>
</insert> </insert>
...@@ -487,7 +487,7 @@ ...@@ -487,7 +487,7 @@
</if> </if>
<if test="versionId != null"> <if test="versionId != null">
version_id = #{versionId,jdbcType=VARCHAR}, version_id = #{versionId,jdbcType=INTEGER},
</if> </if>
<if test="versionName != null"> <if test="versionName != null">
version_name = #{versionName,jdbcType=VARCHAR}, version_name = #{versionName,jdbcType=VARCHAR},
......
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