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
c4a03596
Commit
c4a03596
authored
Mar 13, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1004406' into 'master'
bug:[none]空数据 See merge request rays/pcloud-book!1229
parents
6675e9b1
6e25e96c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Book.Mapper.xml
...rvice-book/src/main/resources/mapper/book/Book.Mapper.xml
+5
-4
No files found.
pcloud-service-book/src/main/resources/mapper/book/Book.Mapper.xml
View file @
c4a03596
...
@@ -2882,15 +2882,15 @@
...
@@ -2882,15 +2882,15 @@
</select>
</select>
<select
id=
"getFundBookCounts"
resultType=
"int"
>
<select
id=
"getFundBookCounts"
resultType=
"int"
>
select count(1) from (
SELECT
SELECT
count(DISTINCT a.book_id)
A.BOOK_ID, A.CHANNEL_ID
FROM
FROM
BOOK_ADVISER A
BOOK_ADVISER A
INNER JOIN
INNER JOIN
BOOK B
BOOK B
ON
ON
A.BOOK_ID = B.BOOK_ID
AND A.IS_DELETE = 0 AND B.IS_DELETE = 0
A.BOOK_ID = B.BOOK_ID AND A.IS_DELETE = 0 AND B.IS_DELETE = 0
AND
AND
A.ADVISER_ID IN
A.ADVISER_ID IN
(
(
...
@@ -2906,12 +2906,13 @@
...
@@ -2906,12 +2906,13 @@
LEFT JOIN
LEFT JOIN
BOOK_FUND BF
BOOK_FUND BF
ON
ON
BF.BOOK_ID = A.BOOK_ID AND BF.END_TIME> NOW()
AND NOW()> BF.START_TIME
BF.BOOK_ID = A.BOOK_ID AND BF.END_TIME> NOW() AND NOW()> BF.START_TIME
WHERE
WHERE
1=1 and
1=1 and
BF.BOOK_FUND_ID>0
BF.BOOK_FUND_ID>0
GROUP BY A.BOOK_ID, A.CHANNEL_ID
GROUP BY A.BOOK_ID, A.CHANNEL_ID
)a
</select>
</select>
</mapper>
</mapper>
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