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
43e84720
Commit
43e84720
authored
Aug 22, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户列表同步
parent
54d128db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
bill-manager/src/main/java/com/mortals/xhx/module/stat/model/vo/StatVo.java
...ain/java/com/mortals/xhx/module/stat/model/vo/StatVo.java
+2
-0
bill-manager/src/main/java/com/mortals/xhx/module/stat/web/StatController.java
.../java/com/mortals/xhx/module/stat/web/StatController.java
+3
-1
bill-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+11
-0
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/stat/model/vo/StatVo.java
View file @
43e84720
...
...
@@ -30,4 +30,6 @@ public class StatVo extends BaseEntityLong {
/** 结束 评价时间 */
private
String
timeEnd
;
private
Long
accessId
;
}
\ No newline at end of file
bill-manager/src/main/java/com/mortals/xhx/module/stat/web/StatController.java
View file @
43e84720
...
...
@@ -98,8 +98,10 @@ public class StatController extends BaseCRUDJsonBodyMappingController<StatServic
DateTime
attendStart
=
DateUtil
.
parseDate
(
query
.
getCreateTimeStart
());
DateTime
attendEnd
=
DateUtil
.
parseDate
(
query
.
getCreateTimeEnd
());
Long
compare
=
DateUtil
.
between
(
attendEnd
,
attendStart
,
DateUnit
.
DAY
);
AccessQuery
accessQuery
=
new
AccessQuery
();
accessQuery
.
setId
(
query
.
getAccessId
());
log
.
info
(
"计算天数区间:{}"
,
compare
);
List
<
SitePdu
>
statSiteList
=
accessService
.
getStatSiteList
(
new
AccessQuery
()
);
List
<
SitePdu
>
statSiteList
=
accessService
.
getStatSiteList
(
accessQuery
);
for
(
SitePdu
site
:
statSiteList
)
{
StatThread
statThread
=
new
StatThread
(
attendStart
,
compare
,
site
,
context
,
Arrays
.
asList
(
StatTypeEnum
.
STAT_ALL
.
getValue
()));
ThreadPool
.
getInstance
().
execute
(
statThread
);
...
...
bill-manager/src/test/java/com/mortals/httpclient/system.http
View file @
43e84720
...
...
@@ -80,6 +80,17 @@ Content-Type: application/json
}
###针对某一接入
POST {{baseUrl}}/access/stat
Content-Type: application/json
{
"accessTimeStart": "2023-01-01",
"accessTimeEnd": "2024-08-22",
"id": 17
}
...
...
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