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
89368bf9
Commit
89368bf9
authored
Jan 07, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug/1004072-1' into 'master'
bug: [none] 数据同步问题 See merge request rays/pcloud-book!1140
parents
c9324899
328a25cc
Show 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 @
89368bf9
...
@@ -155,8 +155,8 @@ public class AppletRecordAggrStatisBizImpl implements AppletRecordAggrStatisBiz
...
@@ -155,8 +155,8 @@ public class AppletRecordAggrStatisBizImpl implements AppletRecordAggrStatisBiz
}
}
if
(
rankType
==
3
){
if
(
rankType
==
3
){
// 周榜
// 周榜
paramMap
.
put
(
"beginDate"
,
DateUtils
.
getShortDateStr
(
DateUtils
.
addDay
(
DateUtils
.
getDayBegin
(),
-
7
)));
paramMap
.
put
(
"beginDate"
,
DateUtils
.
formatDate
(
DateUtils
.
addDay
(
DateUtils
.
getDayBegin
(),
-
7
)));
paramMap
.
put
(
"endDate"
,
DateUtils
.
getShortDateStr
(
DateUtils
.
addDay
(
DateUtils
.
getDayEnd
(),
-
1
)));
paramMap
.
put
(
"endDate"
,
DateUtils
.
formatDate
(
DateUtils
.
addDay
(
DateUtils
.
getDayEnd
(),
-
1
)));
}
}
}
}
...
...
pcloud-service-book/src/main/resources/clickhouse/applet/AppletRecordCHMapper.xml
View file @
89368bf9
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
)
)
</if>
</if>
<if
test=
"beginDate != null"
>
<if
test=
"beginDate != null"
>
AND crea
e
te_time BETWEEN #{beginDate} AND #{endDate}
AND create_time BETWEEN #{beginDate} AND #{endDate}
</if>
</if>
</where>
</where>
GROUP BY record_type, from_id
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