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
47e6c123
Commit
47e6c123
authored
Mar 18, 2021
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:[1028403]资源查询
parent
6b28a2ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
RightsSettingBiz.java
...a/com/pcloud/book/rightsSetting/biz/RightsSettingBiz.java
+1
-1
RightNowItem.xml
.../src/main/resources/mapper/rightssetting/RightNowItem.xml
+10
-6
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/RightsSettingBiz.java
View file @
47e6c123
...
@@ -256,5 +256,5 @@ public interface RightsSettingBiz {
...
@@ -256,5 +256,5 @@ public interface RightsSettingBiz {
* @date:2021/2/19 17:42
* @date:2021/2/19 17:42
* * @param null
* * @param null
*/
*/
List
<
BookServeDTO
>
getRightsSettingAppProduct
(
Long
bookId
,
Long
channelId
,
Long
adviserId
,
Integer
limit
);
List
<
BookServeDTO
>
getRightsSettingAppProduct
(
Long
bookId
,
Long
channelId
,
Long
adviserId
,
Integer
limit
);
}
}
pcloud-service-book/src/main/resources/mapper/rightssetting/RightNowItem.xml
View file @
47e6c123
...
@@ -342,17 +342,21 @@
...
@@ -342,17 +342,21 @@
<select
id=
"getServeItemsByServeTypes"
parameterType=
"map"
resultType=
"com.pcloud.book.group.dto.BookServeDTO"
>
<select
id=
"getServeItemsByServeTypes"
parameterType=
"map"
resultType=
"com.pcloud.book.group.dto.BookServeDTO"
>
SELECT
SELECT
serve_id serveId,
i.
serve_id serveId,
serve_type serveType,
i.
serve_type serveType,
link_url url
i.
link_url url
FROM
FROM
rights_now_item
rights_now_item i
LEFT JOIN rights_setting_title t ON i.rights_setting_title_id = t.id
WHERE
WHERE
rights_setting_id = #{rightsSettingId}
i.
rights_setting_id = #{rightsSettingId}
AND serve_type IN
AND
i.
serve_type IN
<foreach
collection=
"serveTypes"
open=
"("
close=
")"
item=
"item"
index=
"index"
separator=
","
>
<foreach
collection=
"serveTypes"
open=
"("
close=
")"
item=
"item"
index=
"index"
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
AND t.open_state = 1
GROUP BY
i.serve_id
<if
test=
"limit > 0"
>
<if
test=
"limit > 0"
>
LIMIT #{limit}
LIMIT #{limit}
</if>
</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