Commit 048b2844 by 郑勇

feat: [1007685] 专链路配置化

parent ff863903
......@@ -191,6 +191,19 @@ public class AdvertisingCpaDTO extends BaseDto {
private String coverVideoFileName;
/**
* 视频封面
*/
private String videoCover;
public String getVideoCover() {
return videoCover;
}
public void setVideoCover(String videoCover) {
this.videoCover = videoCover;
}
public String getCoverVideoFileId() {
return coverVideoFileId;
}
......
......@@ -149,6 +149,19 @@ public class AdvertisingCpa extends BaseEntity{
private String coverVideoFileName;
/**
* 视频封面
*/
private String videoCover;
public String getVideoCover() {
return videoCover;
}
public void setVideoCover(String videoCover) {
this.videoCover = videoCover;
}
public String getCoverVideoFileId() {
return coverVideoFileId;
}
......
......@@ -34,6 +34,7 @@
<result column="cover_video_file_id" property="coverVideoFileId" jdbcType="VARCHAR" />
<result column="file_convert_state" property="fileConvertState" jdbcType="INTEGER" />
<result column="cover_video_file_name" property="coverVideoFileName" jdbcType="VARCHAR" />
<result column="video_cover" property="videoCover" jdbcType="VARCHAR" />
</resultMap>
<resultMap id="AdvertisingCpaDTO" type="com.pcloud.book.advertising.dto.AdvertisingCpaDTO">
......@@ -68,6 +69,7 @@
<result column="cover_video_file_id" property="coverVideoFileId" jdbcType="VARCHAR" />
<result column="file_convert_state" property="fileConvertState" jdbcType="INTEGER" />
<result column="cover_video_file_name" property="coverVideoFileName" jdbcType="VARCHAR" />
<result column="video_cover" property="videoCover" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
......@@ -75,7 +77,7 @@
form_button, form_link, create_time, update_time, detail_info, preview_link
,cover_video,bg_color,success_toast_type,success_toast_content,commit_button_type,commit_button_content
,commit_button_image,bottom_button_type,bottom_button_content,bottom_button_image,privacy_agreement,success_email,jump_style,create_user,update_user
,head_picture,cover_video_file_id,file_convert_state,cover_video_file_name
,head_picture,cover_video_file_id,file_convert_state,cover_video_file_name,video_cover
</sql>
<select id="getById" resultMap="BaseResultMap" parameterType="java.lang.Long" >
......@@ -96,7 +98,7 @@
create_time, update_time, detail_info, preview_link
,cover_video,bg_color,success_toast_type,success_toast_content,commit_button_type,commit_button_content
,commit_button_image,bottom_button_type,bottom_button_content,bottom_button_image,privacy_agreement,success_email,jump_style
,create_user,update_user,head_picture,cover_video_file_id,file_convert_state,cover_video_file_name
,create_user,update_user,head_picture,cover_video_file_id,file_convert_state,cover_video_file_name,video_cover
)
values (#{detailName,jdbcType=VARCHAR}, #{detailMode,jdbcType=VARCHAR},
#{coverPic,jdbcType=VARCHAR}, #{welfarePic,jdbcType=VARCHAR}, #{formMobileCheck,jdbcType=BIT},
......@@ -104,7 +106,7 @@
NOW(), NOW(), #{detailInfo,jdbcType=LONGVARCHAR}, #{previewLink,jdbcType=VARCHAR}
,#{coverVideo},#{bgColor},#{successToastType},#{successToastContent},#{commitButtonType},#{commitButtonContent},#{commitButtonImage}
,#{bottomButtonType},#{bottomButtonContent},#{bottomButtonImage},#{privacyAgreement},#{successEmail},#{jumpStyle},#{createUser},#{updateUser},#{headPicture}
,#{coverVideoFileId},#{fileConvertState},#{coverVideoFileName}
,#{coverVideoFileId},#{fileConvertState},#{coverVideoFileName},#{videoCover}
)
</insert>
......@@ -199,6 +201,9 @@
<if test="coverVideoFileName != null">
cover_video_file_name = #{coverVideoFileName},
</if>
<if test="videoCover != null">
video_cover = #{videoCover},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
......@@ -236,6 +241,7 @@
cover_video_file_id = #{coverVideoFileId},
file_convert_state = #{fileConvertState},
cover_video_file_name = #{coverVideoFileName},
video_cover = #{videoCover},
update_time=now()
where id = #{id,jdbcType=BIGINT}
</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