|
@@ -8,6 +8,7 @@
|
|
|
<result column="account_id" jdbcType="VARCHAR" property="accountId" />
|
|
|
<result column="similarity" jdbcType="INTEGER" property="similarity" />
|
|
|
<result column="dimension_size" jdbcType="VARCHAR" property="dimensionSize" />
|
|
|
+ <result column="output_image_num" jdbcType="INTEGER" property="outputImageNum" />
|
|
|
<result column="img2img_desc" jdbcType="VARCHAR" property="img2imgDesc" />
|
|
|
<result column="text2img_desc" jdbcType="VARCHAR" property="text2imgDesc" />
|
|
|
<result column="subtitle" jdbcType="VARCHAR" property="subtitle" />
|
|
@@ -78,9 +79,9 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, ad_video_id, ad_video_image_id, account_id, similarity, dimension_size, img2img_desc,
|
|
|
- text2img_desc, subtitle, `status`, task_id, task_type, task_status, is_delete, create_time,
|
|
|
- update_time
|
|
|
+ id, ad_video_id, ad_video_image_id, account_id, similarity, dimension_size, output_image_num,
|
|
|
+ img2img_desc, text2img_desc, subtitle, `status`, task_id, task_type, task_status,
|
|
|
+ is_delete, create_time, update_time
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTaskExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -118,16 +119,16 @@
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTask">
|
|
|
insert into ad_muse_task (id, ad_video_id, ad_video_image_id,
|
|
|
account_id, similarity, dimension_size,
|
|
|
- img2img_desc, text2img_desc, subtitle,
|
|
|
- `status`, task_id, task_type,
|
|
|
- task_status, is_delete, create_time,
|
|
|
- update_time)
|
|
|
+ output_image_num, img2img_desc, text2img_desc,
|
|
|
+ subtitle, `status`, task_id,
|
|
|
+ task_type, task_status, is_delete,
|
|
|
+ create_time, update_time)
|
|
|
values (#{id,jdbcType=BIGINT}, #{adVideoId,jdbcType=BIGINT}, #{adVideoImageId,jdbcType=BIGINT},
|
|
|
#{accountId,jdbcType=VARCHAR}, #{similarity,jdbcType=INTEGER}, #{dimensionSize,jdbcType=VARCHAR},
|
|
|
- #{img2imgDesc,jdbcType=VARCHAR}, #{text2imgDesc,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})
|
|
|
+ #{outputImageNum,jdbcType=INTEGER}, #{img2imgDesc,jdbcType=VARCHAR}, #{text2imgDesc,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 id="insertSelective" parameterType="com.tzld.piaoquan.tencentad.model.po.AdMuseTask">
|
|
|
insert into ad_muse_task
|
|
@@ -150,6 +151,9 @@
|
|
|
<if test="dimensionSize != null">
|
|
|
dimension_size,
|
|
|
</if>
|
|
|
+ <if test="outputImageNum != null">
|
|
|
+ output_image_num,
|
|
|
+ </if>
|
|
|
<if test="img2imgDesc != null">
|
|
|
img2img_desc,
|
|
|
</if>
|
|
@@ -200,6 +204,9 @@
|
|
|
<if test="dimensionSize != null">
|
|
|
#{dimensionSize,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="outputImageNum != null">
|
|
|
+ #{outputImageNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="img2imgDesc != null">
|
|
|
#{img2imgDesc,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -259,6 +266,9 @@
|
|
|
<if test="record.dimensionSize != null">
|
|
|
dimension_size = #{record.dimensionSize,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.outputImageNum != null">
|
|
|
+ output_image_num = #{record.outputImageNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.img2imgDesc != null">
|
|
|
img2img_desc = #{record.img2imgDesc,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -302,6 +312,7 @@
|
|
|
account_id = #{record.accountId,jdbcType=VARCHAR},
|
|
|
similarity = #{record.similarity,jdbcType=INTEGER},
|
|
|
dimension_size = #{record.dimensionSize,jdbcType=VARCHAR},
|
|
|
+ output_image_num = #{record.outputImageNum,jdbcType=INTEGER},
|
|
|
img2img_desc = #{record.img2imgDesc,jdbcType=VARCHAR},
|
|
|
text2img_desc = #{record.text2imgDesc,jdbcType=VARCHAR},
|
|
|
subtitle = #{record.subtitle,jdbcType=VARCHAR},
|
|
@@ -334,6 +345,9 @@
|
|
|
<if test="dimensionSize != null">
|
|
|
dimension_size = #{dimensionSize,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="outputImageNum != null">
|
|
|
+ output_image_num = #{outputImageNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="img2imgDesc != null">
|
|
|
img2img_desc = #{img2imgDesc,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -374,6 +388,7 @@
|
|
|
account_id = #{accountId,jdbcType=VARCHAR},
|
|
|
similarity = #{similarity,jdbcType=INTEGER},
|
|
|
dimension_size = #{dimensionSize,jdbcType=VARCHAR},
|
|
|
+ output_image_num = #{outputImageNum,jdbcType=INTEGER},
|
|
|
img2img_desc = #{img2imgDesc,jdbcType=VARCHAR},
|
|
|
text2img_desc = #{text2imgDesc,jdbcType=VARCHAR},
|
|
|
subtitle = #{subtitle,jdbcType=VARCHAR},
|