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
328a25cc
Commit
328a25cc
authored
Jan 07, 2021
by
郑永强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [none] 数据同步问题
parent
c9324899
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AppletRecordAggrStatisBizImpl.java
...d/book/applet/biz/impl/AppletRecordAggrStatisBizImpl.java
+2
-2
AppletRecordCHMapper.xml
...main/resources/clickhouse/applet/AppletRecordCHMapper.xml
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AppletRecordAggrStatisBizImpl.java
View file @
328a25cc
...
...
@@ -155,8 +155,8 @@ public class AppletRecordAggrStatisBizImpl implements AppletRecordAggrStatisBiz
}
if
(
rankType
==
3
){
// 周榜
paramMap
.
put
(
"beginDate"
,
DateUtils
.
getShortDateStr
(
DateUtils
.
addDay
(
DateUtils
.
getDayBegin
(),
-
7
)));
paramMap
.
put
(
"endDate"
,
DateUtils
.
getShortDateStr
(
DateUtils
.
addDay
(
DateUtils
.
getDayEnd
(),
-
1
)));
paramMap
.
put
(
"beginDate"
,
DateUtils
.
formatDate
(
DateUtils
.
addDay
(
DateUtils
.
getDayBegin
(),
-
7
)));
paramMap
.
put
(
"endDate"
,
DateUtils
.
formatDate
(
DateUtils
.
addDay
(
DateUtils
.
getDayEnd
(),
-
1
)));
}
}
...
...
pcloud-service-book/src/main/resources/clickhouse/applet/AppletRecordCHMapper.xml
View file @
328a25cc
...
...
@@ -64,7 +64,7 @@
)
</if>
<if
test=
"beginDate != null"
>
AND crea
e
te_time BETWEEN #{beginDate} AND #{endDate}
AND create_time BETWEEN #{beginDate} AND #{endDate}
</if>
</where>
GROUP BY record_type, from_id
...
...
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