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
3ff255bd
Commit
3ff255bd
authored
Jun 02, 2020
by
裴大威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zyj-readtype' into 'master'
扫小程序码书籍默认轻松阅读 See merge request rays/pcloud-book!752
parents
0a6395e3
619943c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
BookGroupBizImpl.java
...java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
+2
-0
AppletUserBookcase.xml
...k/src/main/resources/mapper/applet/AppletUserBookcase.xml
+2
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
View file @
3ff255bd
...
@@ -4789,6 +4789,7 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -4789,6 +4789,7 @@ public class BookGroupBizImpl implements BookGroupBiz {
appletUserBookcase
.
setAdviserId
(
bookGroupDTO
.
getCreateUser
());
appletUserBookcase
.
setAdviserId
(
bookGroupDTO
.
getCreateUser
());
appletUserBookcase
.
setBookId
(
bookGroupDTO
.
getBookId
());
appletUserBookcase
.
setBookId
(
bookGroupDTO
.
getBookId
());
appletUserBookcase
.
setChannelId
(
bookGroupDTO
.
getChannelId
());
appletUserBookcase
.
setChannelId
(
bookGroupDTO
.
getChannelId
());
appletUserBookcase
.
setReadType
(
1
);
appletUserBookcaseBiz
.
addUserBook
(
appletUserBookcase
);
appletUserBookcaseBiz
.
addUserBook
(
appletUserBookcase
);
}
else
if
(
bookAppletScene
.
getSceneId
()
!=
null
)
{
}
else
if
(
bookAppletScene
.
getSceneId
()
!=
null
)
{
QrcodeSceneDto
byId
=
qrcodeSceneConsr
.
getById
(
bookAppletScene
.
getSceneId
());
QrcodeSceneDto
byId
=
qrcodeSceneConsr
.
getById
(
bookAppletScene
.
getSceneId
());
...
@@ -4798,6 +4799,7 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -4798,6 +4799,7 @@ public class BookGroupBizImpl implements BookGroupBiz {
appletUserBookcase
.
setAdviserId
(
byId
.
getCreatedByUserLogin
());
appletUserBookcase
.
setAdviserId
(
byId
.
getCreatedByUserLogin
());
appletUserBookcase
.
setBookId
(
byId
.
getAdviserBookId
());
appletUserBookcase
.
setBookId
(
byId
.
getAdviserBookId
());
appletUserBookcase
.
setChannelId
(
byId
.
getChannelPartyId
());
appletUserBookcase
.
setChannelId
(
byId
.
getChannelPartyId
());
appletUserBookcase
.
setReadType
(
1
);
appletUserBookcaseBiz
.
addUserBook
(
appletUserBookcase
);
appletUserBookcaseBiz
.
addUserBook
(
appletUserBookcase
);
}
else
{
}
else
{
return
;
return
;
...
...
pcloud-service-book/src/main/resources/mapper/applet/AppletUserBookcase.xml
View file @
3ff255bd
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
<insert
id=
"insert"
parameterType=
"com.pcloud.book.applet.entity.AppletUserBookcase"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insert"
parameterType=
"com.pcloud.book.applet.entity.AppletUserBookcase"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into applet_user_bookcase (
insert into applet_user_bookcase (
wechat_user_id, book_id, channel_id, adviser_id, create_time
wechat_user_id, book_id, channel_id, adviser_id, create_time
, read_type
)
)
values (
values (
#{wechatUserId}, #{bookId}, #{channelId}, #{adviserId}, NOW()
#{wechatUserId}, #{bookId}, #{channelId}, #{adviserId}, NOW()
, #{readType}
)
)
on duplicate key
on duplicate key
update
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