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
202bd013
Commit
202bd013
authored
Apr 16, 2020
by
曾迫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1002692 查询本编辑下的书刊
parent
1477b6c4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
BookBiz.java
...-book/src/main/java/com/pcloud/book/book/biz/BookBiz.java
+1
-1
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+2
-1
BookFacadeImpl.java
...java/com/pcloud/book/book/facade/impl/BookFacadeImpl.java
+2
-2
Book.Mapper.xml
...rvice-book/src/main/resources/mapper/book/Book.Mapper.xml
+2
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/BookBiz.java
View file @
202bd013
...
...
@@ -643,7 +643,7 @@ public interface BookBiz {
*/
void
updateBookQualifyInfo
(
BookQualifyInfoVO
bookQualifyInfo
,
Long
adviserId
);
PageBeanNew
<
BookQualifyVO
>
getAddBookQualifyList
(
Integer
currentPage
,
Integer
numPerPage
,
String
name
,
Integer
isShowQualifyInfo
);
PageBeanNew
<
BookQualifyVO
>
getAddBookQualifyList
(
Integer
currentPage
,
Integer
numPerPage
,
String
name
,
Integer
isShowQualifyInfo
,
Long
adviserId
);
SearchBookVO
getBookInfoByBookGroupId
(
Long
bookGroupId
);
}
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
202bd013
...
...
@@ -2085,10 +2085,11 @@ public class BookBizImpl implements BookBiz {
}
@Override
public
PageBeanNew
<
BookQualifyVO
>
getAddBookQualifyList
(
Integer
currentPage
,
Integer
numPerPage
,
String
name
,
Integer
isShowQualifyInfo
)
{
public
PageBeanNew
<
BookQualifyVO
>
getAddBookQualifyList
(
Integer
currentPage
,
Integer
numPerPage
,
String
name
,
Integer
isShowQualifyInfo
,
Long
adviserId
)
{
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
paramMap
.
put
(
"isShowQualifyInfo"
,
isShowQualifyInfo
);
paramMap
.
put
(
"name"
,
name
);
paramMap
.
put
(
"adviserId"
,
adviserId
);
PageBeanNew
<
BookQualifyVO
>
pageBeanNew
=
bookDao
.
listPageNew
(
new
PageParam
(
currentPage
,
numPerPage
),
paramMap
,
"getAddBookQualifyList"
);
if
(
null
==
pageBeanNew
||
ListUtils
.
isEmpty
(
pageBeanNew
.
getRecordList
())){
return
new
PageBeanNew
<>(
currentPage
,
numPerPage
,
0
,
new
ArrayList
<>());
...
...
pcloud-service-book/src/main/java/com/pcloud/book/book/facade/impl/BookFacadeImpl.java
View file @
202bd013
...
...
@@ -1016,8 +1016,8 @@ public class BookFacadeImpl implements BookFacade {
@RequestParam
(
value
=
"name"
,
required
=
false
)
String
name
,
@RequestParam
(
value
=
"isShowQualifyInfo"
,
required
=
false
)
Integer
isShowQualifyInfo
)
throws
PermissionException
,
JsonParseException
,
BizException
{
Long
channel
Id
=
(
Long
)
SessionUtil
.
getVlaue
(
token
,
SessionUtil
.
PARTY_ID
);
PageBeanNew
<
BookQualifyVO
>
pageBean
=
bookBiz
.
getAddBookQualifyList
(
currentPage
,
numPerPage
,
name
,
isShowQualifyInfo
);
Long
adviser
Id
=
(
Long
)
SessionUtil
.
getVlaue
(
token
,
SessionUtil
.
PARTY_ID
);
PageBeanNew
<
BookQualifyVO
>
pageBean
=
bookBiz
.
getAddBookQualifyList
(
currentPage
,
numPerPage
,
name
,
isShowQualifyInfo
,
adviserId
);
return
new
ResponseDto
<>(
pageBean
);
}
...
...
pcloud-service-book/src/main/resources/mapper/book/Book.Mapper.xml
View file @
202bd013
...
...
@@ -2208,9 +2208,11 @@
select a.BOOK_ID bookId,a.COVER_IMG coverImg,a.BOOK_NAME bookName,a.ISBN isbn,b.id bookGroupId ,d.resourceCount from book a
LEFT JOIN book_group b on a.book_id=b.book_id
LEFT JOIN (select book_group_id as bookGroupId,COUNT(1) as resourceCount from book_group_serve GROUP BY book_group_id ) d on b.id=d.bookGroupId
left join book_adviser c on a.book_id=c.book_id
where a.IS_DELETE=0
and b.is_delete=0
AND b.join_group_type =4
and c.adviser_id=#{adviserId}
<if
test=
"name != null"
>
AND (a.BOOK_NAME LIKE CONCAT('%',#{name},'%') OR a.ISBN LIKE CONCAT(#{name},'%'))
</if>
...
...
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