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
275dcca4
Commit
275dcca4
authored
Dec 24, 2021
by
郑永强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [none] 落地页优惠券字段问题
parent
06e0150d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+3
-0
ResourcePageDao.xml
...-book/src/main/resources/mapper/group/ResourcePageDao.xml
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
275dcca4
...
@@ -1798,6 +1798,9 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -1798,6 +1798,9 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePageVO
.
setResourcePageBookstoreList
(
resourcePageBookstoreBiz
.
getByResourcePageId
(
resourcePageVO
.
getId
(),
resourcePageVO
.
getChannelId
(),
wechatUserId
,
ResourcePageFixtureTypeEnum
.
BOOKSTORE
));
resourcePageVO
.
setResourcePageBookstoreList
(
resourcePageBookstoreBiz
.
getByResourcePageId
(
resourcePageVO
.
getId
(),
resourcePageVO
.
getChannelId
(),
wechatUserId
,
ResourcePageFixtureTypeEnum
.
BOOKSTORE
));
// 优惠券
// 优惠券
resourcePageVO
.
setResourcePageCouponList
(
resourcePageBookstoreBiz
.
getByResourcePageId
(
resourcePageVO
.
getId
(),
resourcePageVO
.
getChannelId
(),
wechatUserId
,
ResourcePageFixtureTypeEnum
.
COUPONS
));
resourcePageVO
.
setResourcePageCouponList
(
resourcePageBookstoreBiz
.
getByResourcePageId
(
resourcePageVO
.
getId
(),
resourcePageVO
.
getChannelId
(),
wechatUserId
,
ResourcePageFixtureTypeEnum
.
COUPONS
));
}
else
{
resourcePageVO
.
setResourcePageBookstoreList
(
CollUtil
.
toList
());
resourcePageVO
.
setResourcePageCouponList
(
CollUtil
.
toList
());
}
}
if
(
null
!=
resourcePageVO
.
getAdviserId
())
{
if
(
null
!=
resourcePageVO
.
getAdviserId
())
{
resourcePageVO
.
setPushTextOpenStatus
(
qrcodeSceneConsr
.
getPushTextOpenStatus
(
resourcePageVO
.
getAdviserId
()));
resourcePageVO
.
setPushTextOpenStatus
(
qrcodeSceneConsr
.
getPushTextOpenStatus
(
resourcePageVO
.
getAdviserId
()));
...
...
pcloud-service-book/src/main/resources/mapper/group/ResourcePageDao.xml
View file @
275dcca4
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
insert into book.resource_page(book_group_id, style, show_book, open_rays, open_food, create_time, update_time, create_user,
insert into book.resource_page(book_group_id, style, show_book, open_rays, open_food, create_time, update_time, create_user,
qrcode_url, scene_id, book_cover, book_id, channel_id, background_img, font_color, watermark, watermark_style, landing_page_type, transparency, navigation_jump_type)
qrcode_url, scene_id, book_cover, book_id, channel_id, background_img, font_color, watermark, watermark_style, landing_page_type, transparency, navigation_jump_type)
values (#{bookGroupId}, #{style}, #{showBook}, #{openRays}, IFNULL(#{openFood},0), now(), now(), #{createUser}, #{qrcodeUrl}, #{sceneId}, #{bookCover},
values (#{bookGroupId}, #{style}, #{showBook}, #{openRays}, IFNULL(#{openFood},0), now(), now(), #{createUser}, #{qrcodeUrl}, #{sceneId}, #{bookCover},
#{bookId}, #{channelId}, #{backgroundImg}, #{fontColor}, #{watermark}, #{watermarkStyle}, IFNULL(#{landingPageType},1), IFNULL(#{transparency},0), IFNULL(#{navigationJumpType},
0
))
#{bookId}, #{channelId}, #{backgroundImg}, #{fontColor}, #{watermark}, #{watermarkStyle}, IFNULL(#{landingPageType},1), IFNULL(#{transparency},0), IFNULL(#{navigationJumpType},
1
))
</insert>
</insert>
<!--通过主键修改数据-->
<!--通过主键修改数据-->
...
...
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