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
aade51c1
Commit
aade51c1
authored
Sep 07, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug/applet' into 'master'
bug: [none] bookId匹配失败则返回全部 See merge request rays/pcloud-book!949
parents
e66db746
6a872472
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
WeworkTeacherBizImpl.java
.../com/pcloud/book/group/biz/impl/WeworkTeacherBizImpl.java
+6
-7
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/WeworkTeacherBizImpl.java
View file @
aade51c1
...
@@ -151,14 +151,13 @@ public class WeworkTeacherBizImpl implements WeworkTeacherBiz {
...
@@ -151,14 +151,13 @@ public class WeworkTeacherBizImpl implements WeworkTeacherBiz {
public
List
<
WeworkTeacherVO
>
queryAll
(
Long
bookId
)
{
public
List
<
WeworkTeacherVO
>
queryAll
(
Long
bookId
)
{
if
(
Objects
.
nonNull
(
bookId
)){
if
(
Objects
.
nonNull
(
bookId
)){
WeworkTeacherBookBind
bind
=
weworkTeacherBookBindMapper
.
getByBookId
(
bookId
);
WeworkTeacherBookBind
bind
=
weworkTeacherBookBindMapper
.
getByBookId
(
bookId
);
if
(
Objects
.
isNull
(
bind
)
||
StrUtil
.
is
Blank
(
bind
.
getWeworkTeacherArr
())){
if
(
Objects
.
nonNull
(
bind
)
&&
StrUtil
.
isNot
Blank
(
bind
.
getWeworkTeacherArr
())){
return
new
ArrayList
<>(
);
List
<
Long
>
longs
=
JSONObject
.
parseArray
(
bind
.
getWeworkTeacherArr
(),
Long
.
class
);
}
if
(
CollUtil
.
isEmpty
(
longs
)){
List
<
Long
>
longs
=
JSONObject
.
parseArray
(
bind
.
getWeworkTeacherArr
(),
Long
.
class
);
return
new
ArrayList
<>(
);
if
(
CollUtil
.
isEmpty
(
longs
)){
}
return
new
ArrayList
<>(
);
return
weworkTeacherMapper
.
getMaterialByIds
(
longs
);
}
}
return
weworkTeacherMapper
.
getMaterialByIds
(
longs
);
}
}
return
weworkTeacherMapper
.
queryAll
();
return
weworkTeacherMapper
.
queryAll
();
}
}
...
...
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