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
744b79c7
Commit
744b79c7
authored
Jun 08, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/H5DefaultGrade' into 'master'
feat: [none] 默认标签 See merge request rays/pcloud-book!1327
parents
d660ea20
ef09ad9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
AppletUserBookcaseBizImpl.java
...cloud/book/applet/biz/impl/AppletUserBookcaseBizImpl.java
+4
-4
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AppletUserBookcaseBizImpl.java
View file @
744b79c7
...
@@ -171,7 +171,7 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
...
@@ -171,7 +171,7 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
private
void
updateUserGradeLabel
(
AppletUserBookcase
appletUserBookcase
)
{
private
void
updateUserGradeLabel
(
AppletUserBookcase
appletUserBookcase
)
{
//用户没有标签,更新用户年级标签
//用户没有标签,更新用户年级标签
UserGradeLabelIdDTO
labelIdDTO
=
readerConsr
.
getUserGrade
(
appletUserBookcase
.
getWechatUserId
(),
appletUserBookcase
.
getOfficialAccountsId
());
UserGradeLabelIdDTO
labelIdDTO
=
readerConsr
.
getUserGrade
(
appletUserBookcase
.
getWechatUserId
(),
appletUserBookcase
.
getOfficialAccountsId
());
if
(
null
!=
labelIdDTO
)
{
if
(
null
!=
labelIdDTO
&&
null
!=
labelIdDTO
.
getLabelId
()
)
{
return
;
return
;
}
}
BookAdviserDto
bookAdviserDto
=
bookAdviserBiz
.
getBase
(
appletUserBookcase
.
getBookId
(),
appletUserBookcase
.
getChannelId
(),
appletUserBookcase
.
getAdviserId
());
BookAdviserDto
bookAdviserDto
=
bookAdviserBiz
.
getBase
(
appletUserBookcase
.
getBookId
(),
appletUserBookcase
.
getChannelId
(),
appletUserBookcase
.
getAdviserId
());
...
@@ -185,9 +185,9 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
...
@@ -185,9 +185,9 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
if
(
null
!=
bookAdviserDto
.
getDepLabelId
())
{
if
(
null
!=
bookAdviserDto
.
getDepLabelId
())
{
gradeId
=
resourcePageBiz
.
getGradeByDepLabelId
(
bookAdviserDto
.
getDepLabelId
());
gradeId
=
resourcePageBiz
.
getGradeByDepLabelId
(
bookAdviserDto
.
getDepLabelId
());
}
}
if
(
null
!=
gradeId
)
{
//匹配不到,取已工作年龄段
readerConsr
.
addUserGradeLabel
(
appletUserBookcase
.
getWechatUserId
(),
appletUserBookcase
.
getOfficialAccountsId
(),
gradeId
)
;
gradeId
=
null
==
gradeId
?
29L
:
gradeId
;
}
readerConsr
.
addUserGradeLabel
(
appletUserBookcase
.
getWechatUserId
(),
appletUserBookcase
.
getOfficialAccountsId
(),
gradeId
);
//更新用户书籍标签
//更新用户书籍标签
if
(
null
!=
bookAdviserDto
.
getTempletId
())
{
if
(
null
!=
bookAdviserDto
.
getTempletId
())
{
try
{
try
{
...
...
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