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
d83f1c15
Commit
d83f1c15
authored
Dec 19, 2022
by
郑勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: [1009346] 二维码自定义页面新增热区功能
parent
ba5378df
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
3 deletions
+22
-3
ResourcePageWxwork.java
...java/com/pcloud/book/group/entity/ResourcePageWxwork.java
+5
-0
WxworkPageCreateVO.java
...ain/java/com/pcloud/book/group/vo/WxworkPageCreateVO.java
+5
-0
WxworkPageVO.java
.../src/main/java/com/pcloud/book/group/vo/WxworkPageVO.java
+5
-0
ResourcePageWxworkDao.xml
...src/main/resources/mapper/group/ResourcePageWxworkDao.xml
+7
-3
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/entity/ResourcePageWxwork.java
View file @
d83f1c15
...
...
@@ -85,5 +85,10 @@ public class ResourcePageWxwork extends BaseEntity {
*/
private
Boolean
oldTemplate
;
/**
* 跳转地址
*/
private
String
turnUrl
;
}
pcloud-service-book/src/main/java/com/pcloud/book/group/vo/WxworkPageCreateVO.java
View file @
d83f1c15
...
...
@@ -75,4 +75,9 @@ public class WxworkPageCreateVO {
* 存储落地页 - 自定义类型的前端配置
*/
private
Map
<
String
,
Object
>
config
;
/**
* 跳转地址
*/
private
String
turnUrl
;
}
pcloud-service-book/src/main/java/com/pcloud/book/group/vo/WxworkPageVO.java
View file @
d83f1c15
...
...
@@ -85,4 +85,9 @@ public class WxworkPageVO extends BaseDto {
* 是否旧模板 - 旧数据标识
*/
private
Boolean
oldTemplate
;
/**
* 跳转地址
*/
private
String
turnUrl
;
}
pcloud-service-book/src/main/resources/mapper/group/ResourcePageWxworkDao.xml
View file @
d83f1c15
...
...
@@ -20,10 +20,11 @@
<result
property=
"createUser"
column=
"create_user"
jdbcType=
"INTEGER"
/>
<result
property=
"createTime"
column=
"create_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"updateTime"
column=
"update_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"turnUrl"
column=
"turn_url"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_columns"
>
id, resource_page_id, template_type, display_book, guide, qrcode_type, qrcode_id, qrcode_url, base_pic, top_space, left_space, html_pic, fixed_set, is_old_template, create_user, create_time, update_time
id, resource_page_id, template_type, display_book, guide, qrcode_type, qrcode_id, qrcode_url, base_pic, top_space, left_space, html_pic, fixed_set, is_old_template, create_user, create_time, update_time
,turn_url
</sql>
<!--查询单个-->
...
...
@@ -36,8 +37,8 @@
<!--新增所有列-->
<insert
id=
"insert"
keyProperty=
"id"
useGeneratedKeys=
"true"
>
insert into resource_page_wxwork(resource_page_id, template_type, display_book, guide, qrcode_type, qrcode_id, qrcode_url, base_pic, top_space, left_space, html_pic, fixed_set, is_old_template, create_user, create_time, update_time)
values (#{resourcePageId}, #{templateType}, #{displayBook}, #{guide}, #{qrcodeType}, #{qrcodeId}, #{qrcodeUrl}, #{basePic}, #{topSpace}, #{leftSpace}, #{htmlPic}, #{fixedSet}, 0, #{createUser}, now(), now())
insert into resource_page_wxwork(resource_page_id, template_type, display_book, guide, qrcode_type, qrcode_id, qrcode_url, base_pic, top_space, left_space, html_pic, fixed_set, is_old_template, create_user, create_time, update_time
,turn_url
)
values (#{resourcePageId}, #{templateType}, #{displayBook}, #{guide}, #{qrcodeType}, #{qrcodeId}, #{qrcodeUrl}, #{basePic}, #{topSpace}, #{leftSpace}, #{htmlPic}, #{fixedSet}, 0, #{createUser}, now(), now()
,#{turnUrl}
)
</insert>
<!--通过主键修改数据-->
...
...
@@ -60,6 +61,9 @@
<if
test=
"qrcodeUrl != null and qrcodeUrl != ''"
>
qrcode_url = #{qrcodeUrl},
</if>
<if
test=
"turnUrl != null and turnUrl != ''"
>
turn_url = #{turnUrl},
</if>
is_old_template = 0,
base_pic = #{basePic},
top_space = #{topSpace},
...
...
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