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
e1df2bc9
Commit
e1df2bc9
authored
Apr 25, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1004667' into 'master'
feat:[1004667] 落地页授权到业务公众号 See merge request rays/pcloud-book!1281
parents
1a637673
243d534b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
BookGroupBizImpl.java
...java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
+1
-4
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+4
-0
ResourcePageDao.xml
...-book/src/main/resources/mapper/group/ResourcePageDao.xml
+3
-0
ResourcePageItemDao.xml
...k/src/main/resources/mapper/group/ResourcePageItemDao.xml
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
View file @
e1df2bc9
...
...
@@ -1229,11 +1229,8 @@ public class BookGroupBizImpl implements BookGroupBiz {
if
(
bookGroupDTO
!=
null
)
{
result
.
put
(
"joinGroupType"
,
bookGroupDTO
.
getJoinGroupType
());
if
(
JoinGroupTypeEnum
.
XIAORUI
.
getCode
().
equals
(
bookGroupDTO
.
getJoinGroupType
()))
{
BookAppletScene
applet
=
bookAppletSceneDao
.
getByBookGroupId
(
bookGroupId
);
if
(
null
!=
applet
)
{
result
.
put
(
"classifyId"
,
applet
.
getRaysClassifyId
());
}
result
.
put
(
"jumpType"
,
bookGroupDTO
.
getJumpType
());
result
.
put
(
"jumpUrl"
,
bookGroupDTO
.
getJumpUrl
());
}
}
if
(
null
!=
bookGroupDTO
&&
null
!=
bookGroupDTO
.
getBookId
())
{
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
e1df2bc9
...
...
@@ -480,6 +480,8 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePageVO
.
setAdviserId
(
dto
.
getCreateUser
());
resourcePageVO
.
setChannelId
(
dto
.
getChannelId
());
}
//预览取原有二维码
resourcePageVO
.
setQrcodeUrl
(
dto
.
getGroupQrcodeUrl
());
}
else
{
ResourcePage
resourcePage
=
resourcePageDao
.
getBySceneId
(
sceneId
);
if
(
null
==
resourcePage
)
{
...
...
@@ -492,6 +494,8 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePageVO
.
setBookId
(
qrcodeSceneDto
.
getAdviserBookId
());
resourcePageVO
.
setAdviserId
(
qrcodeSceneDto
.
getCreatedByUserLogin
());
resourcePageVO
.
setChannelId
(
qrcodeSceneDto
.
getChannelPartyId
());
//预览取原有二维码
resourcePageVO
.
setQrcodeUrl
(
qrcodeSceneDto
.
getQrcodeUrl
());
}
Map
<
Long
,
AdviserBaseInfoDto
>
agentMap
=
adviserConsr
.
getAdviserId2AdviserInfoDtoMap
(
Arrays
.
asList
(
adviserId
));
if
(!
MapUtils
.
isEmpty
(
agentMap
))
{
...
...
pcloud-service-book/src/main/resources/mapper/group/ResourcePageDao.xml
View file @
e1df2bc9
...
...
@@ -66,6 +66,7 @@
id, book_group_id, style, show_book, open_rays, qrcode_url, official_scene_id
from book.resource_page
where book_group_id = #{bookGroupId}
limit 1
</select>
<select
id=
"getByBookId"
parameterType=
"map"
resultMap=
"ResourcePageMap"
>
...
...
@@ -121,6 +122,7 @@
id, book_group_id, style, show_book, open_rays, qrcode_url, scene_id, official_scene_id
from book.resource_page
where scene_id = #{sceneId}
limit 1
</select>
</mapper>
\ No newline at end of file
pcloud-service-book/src/main/resources/mapper/group/ResourcePageItemDao.xml
View file @
e1df2bc9
...
...
@@ -118,7 +118,7 @@
ORDER BY seq_num asc, id asc
</select>
<select
id=
"getResourceCounts"
parameterType=
"long"
>
<select
id=
"getResourceCounts"
parameterType=
"long"
resultType=
"integer"
>
SELECT COUNT(1)
FROM
resource_page_item
...
...
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