Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-platform
Commits
f3f5ec36
Commit
f3f5ec36
authored
Jul 18, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页统计模块 统计近一周
parent
d7e22b13
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
...in/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
+1
-1
bill-manager/src/test/java/com/mortals/httpclient/access/AccessController.http
.../java/com/mortals/httpclient/access/AccessController.http
+2
-1
No files found.
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
View file @
f3f5ec36
...
@@ -47,7 +47,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
...
@@ -47,7 +47,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
public
void
excuteTask
(
ITask
task
)
throws
AppException
{
public
void
excuteTask
(
ITask
task
)
throws
AppException
{
log
.
info
(
"站点评价统计任务"
);
log
.
info
(
"站点评价统计任务"
);
//统计最近一周
//统计最近一周
for
(
int
i
=
1
;
i
<
7
;
i
++)
{
for
(
int
i
=
0
;
i
<
7
;
i
++)
{
DateTime
beforeDate
=
DateUtil
.
offsetDay
(
new
Date
(),
-
i
);
DateTime
beforeDate
=
DateUtil
.
offsetDay
(
new
Date
(),
-
i
);
int
year
=
beforeDate
.
year
();
int
year
=
beforeDate
.
year
();
int
month
=
beforeDate
.
month
()
+
1
;
int
month
=
beforeDate
.
month
()
+
1
;
...
...
bill-manager/src/test/java/com/mortals/httpclient/access/AccessController.http
View file @
f3f5ec36
...
@@ -14,10 +14,11 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
...
@@ -14,10 +14,11 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
%}
%}
###区域接入列表
###区域接入列表
POST {{baseUrl}}/access/list
POST {{baseUrl}}/access/
inter
list
Content-Type: application/json
Content-Type: application/json
{
{
"orderList": [{"": ""}],
"page":1,
"page":1,
"size":10
"size":10
}
}
...
...
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