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
97be9ba1
Commit
97be9ba1
authored
Feb 23, 2022
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: [1006288] 【技术稳定】去分析引擎专题子需求-出版端-数据分析-书刊分析-图表排行-三个接口
parent
3eb6f88c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+3
-0
Book.Mapper.xml
...rvice-book/src/main/resources/mapper/book/Book.Mapper.xml
+2
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
97be9ba1
...
@@ -864,6 +864,9 @@ public class BookBizImpl implements BookBiz {
...
@@ -864,6 +864,9 @@ public class BookBizImpl implements BookBiz {
paramMap
.
put
(
"adviserId"
,
bookDetialDTO
.
getAdviserId
());
paramMap
.
put
(
"adviserId"
,
bookDetialDTO
.
getAdviserId
());
List
<
BookDto
>
bookDtos
=
bookDao
.
listDetailByIds
(
paramMap
);
List
<
BookDto
>
bookDtos
=
bookDao
.
listDetailByIds
(
paramMap
);
if
(!
ListUtils
.
isEmpty
(
bookDtos
))
{
if
(!
ListUtils
.
isEmpty
(
bookDtos
))
{
ArrayList
<
Object
>
objects
=
new
ArrayList
<>();
objects
.
addAll
(
bookDtos
);
bookSet
.
setTemplateNameNew
(
objects
);
bookMap
=
Maps
.
newHashMap
();
bookMap
=
Maps
.
newHashMap
();
for
(
BookDto
bookDto
:
bookDtos
)
{
for
(
BookDto
bookDto
:
bookDtos
)
{
bookMap
.
put
(
bookDto
.
getChannelId
()
+
"_"
+
bookDto
.
getBookId
(),
bookDto
);
bookMap
.
put
(
bookDto
.
getChannelId
()
+
"_"
+
bookDto
.
getBookId
(),
bookDto
);
...
...
pcloud-service-book/src/main/resources/mapper/book/Book.Mapper.xml
View file @
97be9ba1
...
@@ -398,7 +398,8 @@
...
@@ -398,7 +398,8 @@
<select
id=
"listDetailByIds"
resultMap=
"bookMap"
parameterType=
"map"
>
<select
id=
"listDetailByIds"
resultMap=
"bookMap"
parameterType=
"map"
>
SELECT
SELECT
b.BOOK_ID,b.BOOK_NAME,ba.TEMPLET_ID,ba.CHANNEL_ID FROM book b LEFT JOIN book_adviser ba ON b.BOOK_ID = ba.BOOK_ID
b.BOOK_ID,b.BOOK_NAME,ba.TEMPLET_ID,ba.CHANNEL_ID,b.ISBN,b.COVER_IMG,ba.CREATED_DATE
FROM book b LEFT JOIN book_adviser ba ON b.BOOK_ID = ba.BOOK_ID
WHERE
WHERE
b.BOOK_ID IN
b.BOOK_ID IN
<foreach
collection=
"bookIds"
index=
"i"
item=
"item"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"bookIds"
index=
"i"
item=
"item"
open=
"("
separator=
","
close=
")"
>
...
...
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