Commit 048b2844 by 郑勇

feat: [1007685] 专链路配置化

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