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
6ce635d6
Commit
6ce635d6
authored
Sep 23, 2019
by
杨涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1001584-----------出版端设计规范更新
parent
fb618731
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+3
-3
Book.Mapper.xml
...rvice-book/src/main/resources/mapper/book/Book.Mapper.xml
+10
-7
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
6ce635d6
...
...
@@ -1116,11 +1116,11 @@ public class BookBizImpl implements BookBiz {
@Override
public
PageBean
listPage4Agent
(
PageParam
pageParam
,
Map
<
String
,
Object
>
paramMap
,
Long
agentId
)
{
LOGGER
.
info
(
"书刊列表-出版端,<START>.[paramMap]="
+
paramMap
+
",agentId"
+
agentId
);
List
<
Long
>
adviserIds
=
adviserConsr
.
getIdsByNameAndAgentId
(
agentId
,
(
String
)
paramMap
.
get
(
"
mainEditor
Name"
));
List
<
Long
>
adviserIds
=
adviserConsr
.
getIdsByNameAndAgentId
(
agentId
,
(
String
)
paramMap
.
get
(
"
book
Name"
));
paramMap
.
put
(
"adviserIds"
,
adviserIds
);
if
(
ListUtils
.
isEmpty
(
adviserIds
))
{
/*
if (ListUtils.isEmpty(adviserIds)) {
return new PageBean(0, 0, new ArrayList<>());
}
}
*/
PageBean
pageBean
=
bookDao
.
listPage
(
pageParam
,
paramMap
,
"listPage4Agent"
);
if
(
pageBean
==
null
||
ListUtils
.
isEmpty
(
pageBean
.
getRecordList
()))
{
return
new
PageBean
();
...
...
pcloud-service-book/src/main/resources/mapper/book/Book.Mapper.xml
View file @
6ce635d6
...
...
@@ -1073,11 +1073,6 @@
BOOK B
ON
A.BOOK_ID = B.BOOK_ID AND A.IS_DELETE = 0 AND B.IS_DELETE = 0
AND
A.ADVISER_ID IN
<foreach
collection=
"adviserIds"
index=
"i"
item=
"item"
open=
"("
separator=
","
close=
")"
>
${item}
</foreach>
AND A.IS_MAIN_EDITOR = 1
LEFT JOIN
BOOK_TYPE T
...
...
@@ -1098,8 +1093,16 @@
A.CHANNEL_ID = #{channelId}
</if>
<if
test=
"bookName!=null"
>
AND
B.BOOK_NAME LIKE CONCAT('%',#{bookName},'%')
AND (B.BOOK_NAME LIKE CONCAT('%',#{bookName},'%')
OR B.ISBN LIKE CONCAT(#{bookName},'%')
<if
test=
"adviserIds!=null and adviserIds.size()>0"
>
OR
A.ADVISER_ID in
<foreach
collection=
"adviserIds"
item=
"item"
open=
"("
separator=
","
close=
")"
>
${item}
</foreach>
</if>
)
</if>
<if
test=
"isbn!=null"
>
AND
...
...
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