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
ba1fe81a
Commit
ba1fe81a
authored
Sep 26, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug/errornull' into 'master'
bug:[none]空指针异常 See merge request rays/pcloud-book!1418
parents
55641f75
9037b8dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
AnswerSubscribeBizImpl.java
...m/pcloud/book/applet/biz/impl/AnswerSubscribeBizImpl.java
+1
-1
AppletRecordAggrStatisBizImpl.java
...d/book/applet/biz/impl/AppletRecordAggrStatisBizImpl.java
+6
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AnswerSubscribeBizImpl.java
View file @
ba1fe81a
...
...
@@ -303,7 +303,7 @@ public class AnswerSubscribeBizImpl implements AnswerSubscribeBiz {
String
openId
=
readerConsr
.
getOpenIdByWechatUserIdAndOfficialAccountsId
(
wechatUserId
,
accountSettingId
);
WechatUserOfficialAccounts
accounts
=
readerConsr
.
getOfficialAccounts
(
accountSettingId
,
openId
,
wechatUserId
);
Boolean
isSubscribe
=
false
;
if
(
null
!=
accounts
)
{
if
(
null
!=
accounts
&&
null
!=
accounts
.
getIsSubscribe
()
)
{
isSubscribe
=
accounts
.
getIsSubscribe
()
==
1
?
true
:
false
;
}
GroupQrcodeVO
groupQrcodeVO
=
qrcodeSceneConsr
.
getSubscribeQrcode
(
accountSettingId
);
...
...
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AppletRecordAggrStatisBizImpl.java
View file @
ba1fe81a
...
...
@@ -409,11 +409,15 @@ public class AppletRecordAggrStatisBizImpl implements AppletRecordAggrStatisBiz
//年龄段下所有年级
List
<
Long
>
gradeLabelIds
=
readerConsr
.
getUserGradeIdByParentId
(
parentLabel
);
//年级排序,当前年级在前
List
<
Long
>
orderFieldIds
=
new
ArrayList
<>(
Arrays
.
asList
(
gradeLabelId
));
if
(!
ListUtils
.
isEmpty
(
gradeLabelIds
)
&&
gradeLabelIds
.
contains
(
gradeLabelId
))
{
List
<
Long
>
orderFieldIds
=
new
ArrayList
<>();
if
(
null
!=
gradeLabelId
)
{
orderFieldIds
.
add
(
gradeLabelId
);
}
if
(!
ListUtils
.
isEmpty
(
gradeLabelIds
)
&&
null
!=
gradeLabelId
&&
gradeLabelIds
.
contains
(
gradeLabelId
))
{
gradeLabelIds
.
remove
(
gradeLabelId
);
}
orderFieldIds
.
addAll
(
gradeLabelIds
);
countList
=
appletRecordSevenDayDao
.
getResourceByGrade4H5
(
sourceType
,
orderFieldIds
,
maxCount
,
sourceFrom
);
}
if
(
ListUtils
.
isEmpty
(
countList
))
{
...
...
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