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
eb0d9f7e
Commit
eb0d9f7e
authored
Jan 06, 2022
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: [1006403] 【优化】市场反馈:本书服务页已购标识及价格展示开关
parent
225dfc60
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
2 deletions
+26
-2
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+4
-0
ResourcePage.java
.../main/java/com/pcloud/book/group/entity/ResourcePage.java
+5
-0
ResourcePageVO.java
...rc/main/java/com/pcloud/book/group/vo/ResourcePageVO.java
+5
-0
UpdateResourcePageVO.java
...n/java/com/pcloud/book/group/vo/UpdateResourcePageVO.java
+5
-0
ResourcePageDao.xml
...-book/src/main/resources/mapper/group/ResourcePageDao.xml
+7
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
eb0d9f7e
...
@@ -385,6 +385,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -385,6 +385,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePage
.
setWatermark
(
updateResourcePageVO
.
getWatermark
());
resourcePage
.
setWatermark
(
updateResourcePageVO
.
getWatermark
());
resourcePage
.
setWatermarkStyle
(
updateResourcePageVO
.
getWatermarkStyle
());
resourcePage
.
setWatermarkStyle
(
updateResourcePageVO
.
getWatermarkStyle
());
resourcePage
.
setTransparency
(
updateResourcePageVO
.
getTransparency
());
resourcePage
.
setTransparency
(
updateResourcePageVO
.
getTransparency
());
resourcePage
.
setIsShowPrice
(
updateResourcePageVO
.
getIsShowPrice
());
resourcePageDao
.
update
(
resourcePage
);
resourcePageDao
.
update
(
resourcePage
);
}
}
if
(
updateResourcePageVO
.
getOpenRays
()
==
1
)
{
if
(
updateResourcePageVO
.
getOpenRays
()
==
1
)
{
...
@@ -456,6 +457,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -456,6 +457,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePage
.
setWatermark
(
updateResourcePageVO
.
getWatermark
());
resourcePage
.
setWatermark
(
updateResourcePageVO
.
getWatermark
());
resourcePage
.
setWatermarkStyle
(
updateResourcePageVO
.
getWatermarkStyle
());
resourcePage
.
setWatermarkStyle
(
updateResourcePageVO
.
getWatermarkStyle
());
resourcePage
.
setTransparency
(
updateResourcePageVO
.
getTransparency
());
resourcePage
.
setTransparency
(
updateResourcePageVO
.
getTransparency
());
resourcePage
.
setIsShowPrice
(
updateResourcePageVO
.
getIsShowPrice
());
resourcePageDao
.
update
(
resourcePage
);
resourcePageDao
.
update
(
resourcePage
);
}
}
if
(
updateResourcePageVO
.
getOpenRays
()
==
1
)
{
if
(
updateResourcePageVO
.
getOpenRays
()
==
1
)
{
...
@@ -1906,6 +1908,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -1906,6 +1908,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePageVO
.
setWatermarkStyle
(
resourcePage
.
getWatermarkStyle
());
resourcePageVO
.
setWatermarkStyle
(
resourcePage
.
getWatermarkStyle
());
resourcePageVO
.
setLandingPageType
(
resourcePage
.
getLandingPageType
());
resourcePageVO
.
setLandingPageType
(
resourcePage
.
getLandingPageType
());
resourcePageVO
.
setTransparency
(
resourcePage
.
getTransparency
());
resourcePageVO
.
setTransparency
(
resourcePage
.
getTransparency
());
resourcePageVO
.
setIsShowPrice
(
resourcePage
.
getIsShowPrice
());
}
}
return
resourcePageVO
;
return
resourcePageVO
;
}
}
...
@@ -1961,6 +1964,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -1961,6 +1964,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePageVO
.
setLandingPageType
(
resourcePage
.
getLandingPageType
());
resourcePageVO
.
setLandingPageType
(
resourcePage
.
getLandingPageType
());
resourcePageVO
.
setTransparency
(
resourcePage
.
getTransparency
());
resourcePageVO
.
setTransparency
(
resourcePage
.
getTransparency
());
resourcePageVO
.
setNavigationJumpType
(
resourcePage
.
getNavigationJumpType
());
resourcePageVO
.
setNavigationJumpType
(
resourcePage
.
getNavigationJumpType
());
resourcePageVO
.
setIsShowPrice
(
resourcePage
.
getIsShowPrice
());
}
}
return
resourcePageVO
;
return
resourcePageVO
;
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/entity/ResourcePage.java
View file @
eb0d9f7e
...
@@ -100,4 +100,9 @@ public class ResourcePage extends BaseEntity {
...
@@ -100,4 +100,9 @@ public class ResourcePage extends BaseEntity {
* 导航使用场景;1:菜单切换;2:功能跳转
* 导航使用场景;1:菜单切换;2:功能跳转
*/
*/
private
Integer
navigationJumpType
;
private
Integer
navigationJumpType
;
/**
* 是否展示价格
*/
private
Integer
isShowPrice
;
}
}
pcloud-service-book/src/main/java/com/pcloud/book/group/vo/ResourcePageVO.java
View file @
eb0d9f7e
...
@@ -135,4 +135,9 @@ public class ResourcePageVO extends BaseDto {
...
@@ -135,4 +135,9 @@ public class ResourcePageVO extends BaseDto {
* 导航使用场景;1:菜单切换;2:功能跳转
* 导航使用场景;1:菜单切换;2:功能跳转
*/
*/
private
Integer
navigationJumpType
;
private
Integer
navigationJumpType
;
/**
* 是否展示价格
*/
private
Integer
isShowPrice
;
}
}
pcloud-service-book/src/main/java/com/pcloud/book/group/vo/UpdateResourcePageVO.java
View file @
eb0d9f7e
...
@@ -88,4 +88,9 @@ public class UpdateResourcePageVO {
...
@@ -88,4 +88,9 @@ public class UpdateResourcePageVO {
* 透明度 非小睿码生效
* 透明度 非小睿码生效
*/
*/
private
Integer
transparency
;
private
Integer
transparency
;
/**
* 是否展示价格
*/
private
Integer
isShowPrice
;
}
}
pcloud-service-book/src/main/resources/mapper/group/ResourcePageDao.xml
View file @
eb0d9f7e
...
@@ -27,12 +27,13 @@
...
@@ -27,12 +27,13 @@
<result
property=
"landingPageType"
column=
"landing_page_type"
jdbcType=
"INTEGER"
/>
<result
property=
"landingPageType"
column=
"landing_page_type"
jdbcType=
"INTEGER"
/>
<result
property=
"transparency"
column=
"transparency"
jdbcType=
"INTEGER"
/>
<result
property=
"transparency"
column=
"transparency"
jdbcType=
"INTEGER"
/>
<result
property=
"navigationJumpType"
column=
"navigation_jump_type"
jdbcType=
"INTEGER"
/>
<result
property=
"navigationJumpType"
column=
"navigation_jump_type"
jdbcType=
"INTEGER"
/>
<result
property=
"isShowPrice"
column=
"is_show_price"
jdbcType=
"TINYINT"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, book_group_id, style, show_book, open_rays, open_food, create_time, update_time, create_user, qrcode_url, scene_id, official_scene_id,
id, book_group_id, style, show_book, open_rays, open_food, create_time, update_time, create_user, qrcode_url, scene_id, official_scene_id,
book_cover, book_id, channel_id, background_img, navigation_color, navigation_format, font_color,watermark, watermark_style, landing_page_type
book_cover, book_id, channel_id, background_img, navigation_color, navigation_format, font_color,watermark, watermark_style, landing_page_type
,transparency, navigation_jump_type
,transparency, navigation_jump_type
, is_show_price
</sql>
</sql>
<!--查询单个-->
<!--查询单个-->
...
@@ -98,6 +99,9 @@
...
@@ -98,6 +99,9 @@
<if
test=
"navigationJumpType != null"
>
<if
test=
"navigationJumpType != null"
>
navigation_jump_type = #{navigationJumpType},
navigation_jump_type = #{navigationJumpType},
</if>
</if>
<if
test=
"isShowPrice != null"
>
is_show_price = #{isShowPrice},
</if>
</set>
</set>
where id = #{id}
where id = #{id}
</update>
</update>
...
@@ -130,7 +134,8 @@
...
@@ -130,7 +134,8 @@
p.navigation_format,
p.navigation_format,
p.font_color,
p.font_color,
p.transparency,
p.transparency,
p.navigation_jump_type
p.navigation_jump_type,
p.is_show_price
FROM
FROM
resource_page p
resource_page p
LEFT JOIN resource_page_item i ON p.id = i.resource_page_id
LEFT JOIN resource_page_item i ON p.id = i.resource_page_id
...
...
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