Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
24b008c2
Commit
24b008c2
authored
Aug 03, 2022
by
吴博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1007685' into 'release'
feat: [1007685] 专链路配置化 See merge request rays/pcloud-book!1651
parents
ff863903
048b2844
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
AdvertisingCpaDTO.java
...va/com/pcloud/book/advertising/dto/AdvertisingCpaDTO.java
+13
-0
AdvertisingCpa.java
...va/com/pcloud/book/advertising/entity/AdvertisingCpa.java
+13
-0
AdvertisingCpaMapper.xml
...ain/resources/mapper/advertising/AdvertisingCpaMapper.xml
+9
-3
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/advertising/dto/AdvertisingCpaDTO.java
View file @
24b008c2
...
...
@@ -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
;
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/advertising/entity/AdvertisingCpa.java
View file @
24b008c2
...
...
@@ -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
;
}
...
...
pcloud-service-book/src/main/resources/mapper/advertising/AdvertisingCpaMapper.xml
View file @
24b008c2
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment