|
@@ -5,6 +5,8 @@
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
<result column="ad_video_id" jdbcType="BIGINT" property="adVideoId" />
|
|
<result column="ad_video_id" jdbcType="BIGINT" property="adVideoId" />
|
|
<result column="ad_video_image_id" jdbcType="BIGINT" property="adVideoImageId" />
|
|
<result column="ad_video_image_id" jdbcType="BIGINT" property="adVideoImageId" />
|
|
|
|
+ <result column="account_id" jdbcType="VARCHAR" property="accountId" />
|
|
|
|
+ <result column="subtitle" jdbcType="VARCHAR" property="subtitle" />
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
<result column="task_id" jdbcType="BIGINT" property="taskId" />
|
|
<result column="task_id" jdbcType="BIGINT" property="taskId" />
|
|
<result column="task_type" jdbcType="VARCHAR" property="taskType" />
|
|
<result column="task_type" jdbcType="VARCHAR" property="taskType" />
|
|
@@ -72,8 +74,8 @@
|
|
</where>
|
|
</where>
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
- id, ad_video_id, ad_video_image_id, `status`, task_id, task_type, task_status, is_delete,
|
|
|
|
- create_time, update_time
|
|
|
|
|
|
+ id, ad_video_id, ad_video_image_id, account_id, subtitle, `status`, task_id, task_type,
|
|
|
|
+ task_status, is_delete, create_time, update_time
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTaskExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTaskExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -110,13 +112,15 @@
|
|
</delete>
|
|
</delete>
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTask">
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTask">
|
|
insert into ad_muse_task (id, ad_video_id, ad_video_image_id,
|
|
insert into ad_muse_task (id, ad_video_id, ad_video_image_id,
|
|
- `status`, task_id, task_type,
|
|
|
|
- task_status, is_delete, create_time,
|
|
|
|
- update_time)
|
|
|
|
|
|
+ account_id, subtitle, `status`,
|
|
|
|
+ task_id, task_type, task_status,
|
|
|
|
+ is_delete, create_time, update_time
|
|
|
|
+ )
|
|
values (#{id,jdbcType=BIGINT}, #{adVideoId,jdbcType=BIGINT}, #{adVideoImageId,jdbcType=BIGINT},
|
|
values (#{id,jdbcType=BIGINT}, #{adVideoId,jdbcType=BIGINT}, #{adVideoImageId,jdbcType=BIGINT},
|
|
- #{status,jdbcType=INTEGER}, #{taskId,jdbcType=BIGINT}, #{taskType,jdbcType=VARCHAR},
|
|
|
|
- #{taskStatus,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
- #{updateTime,jdbcType=TIMESTAMP})
|
|
|
|
|
|
+ #{accountId,jdbcType=VARCHAR}, #{subtitle,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
|
|
|
+ #{taskId,jdbcType=BIGINT}, #{taskType,jdbcType=VARCHAR}, #{taskStatus,jdbcType=VARCHAR},
|
|
|
|
+ #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
|
|
|
+ )
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTask">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTask">
|
|
insert into ad_muse_task
|
|
insert into ad_muse_task
|
|
@@ -130,6 +134,12 @@
|
|
<if test="adVideoImageId != null">
|
|
<if test="adVideoImageId != null">
|
|
ad_video_image_id,
|
|
ad_video_image_id,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="accountId != null">
|
|
|
|
+ account_id,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="subtitle != null">
|
|
|
|
+ subtitle,
|
|
|
|
+ </if>
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
`status`,
|
|
`status`,
|
|
</if>
|
|
</if>
|
|
@@ -162,6 +172,12 @@
|
|
<if test="adVideoImageId != null">
|
|
<if test="adVideoImageId != null">
|
|
#{adVideoImageId,jdbcType=BIGINT},
|
|
#{adVideoImageId,jdbcType=BIGINT},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="accountId != null">
|
|
|
|
+ #{accountId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="subtitle != null">
|
|
|
|
+ #{subtitle,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
#{status,jdbcType=INTEGER},
|
|
#{status,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -203,6 +219,12 @@
|
|
<if test="record.adVideoImageId != null">
|
|
<if test="record.adVideoImageId != null">
|
|
ad_video_image_id = #{record.adVideoImageId,jdbcType=BIGINT},
|
|
ad_video_image_id = #{record.adVideoImageId,jdbcType=BIGINT},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.accountId != null">
|
|
|
|
+ account_id = #{record.accountId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.subtitle != null">
|
|
|
|
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
<if test="record.status != null">
|
|
<if test="record.status != null">
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -234,6 +256,8 @@
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
ad_video_id = #{record.adVideoId,jdbcType=BIGINT},
|
|
ad_video_id = #{record.adVideoId,jdbcType=BIGINT},
|
|
ad_video_image_id = #{record.adVideoImageId,jdbcType=BIGINT},
|
|
ad_video_image_id = #{record.adVideoImageId,jdbcType=BIGINT},
|
|
|
|
+ account_id = #{record.accountId,jdbcType=VARCHAR},
|
|
|
|
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
task_id = #{record.taskId,jdbcType=BIGINT},
|
|
task_id = #{record.taskId,jdbcType=BIGINT},
|
|
task_type = #{record.taskType,jdbcType=VARCHAR},
|
|
task_type = #{record.taskType,jdbcType=VARCHAR},
|
|
@@ -254,6 +278,12 @@
|
|
<if test="adVideoImageId != null">
|
|
<if test="adVideoImageId != null">
|
|
ad_video_image_id = #{adVideoImageId,jdbcType=BIGINT},
|
|
ad_video_image_id = #{adVideoImageId,jdbcType=BIGINT},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="accountId != null">
|
|
|
|
+ account_id = #{accountId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="subtitle != null">
|
|
|
|
+ subtitle = #{subtitle,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -282,6 +312,8 @@
|
|
update ad_muse_task
|
|
update ad_muse_task
|
|
set ad_video_id = #{adVideoId,jdbcType=BIGINT},
|
|
set ad_video_id = #{adVideoId,jdbcType=BIGINT},
|
|
ad_video_image_id = #{adVideoImageId,jdbcType=BIGINT},
|
|
ad_video_image_id = #{adVideoImageId,jdbcType=BIGINT},
|
|
|
|
+ account_id = #{accountId,jdbcType=VARCHAR},
|
|
|
|
+ subtitle = #{subtitle,jdbcType=VARCHAR},
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
task_id = #{taskId,jdbcType=BIGINT},
|
|
task_id = #{taskId,jdbcType=BIGINT},
|
|
task_type = #{taskType,jdbcType=VARCHAR},
|
|
task_type = #{taskType,jdbcType=VARCHAR},
|