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
8425030d
Commit
8425030d
authored
Aug 06, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重新调整统计线程实现
parent
659963c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatAllTaskImpl.java
...java/com/mortals/xhx/daemon/task/SiteStatAllTaskImpl.java
+1
-7
No files found.
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatAllTaskImpl.java
View file @
8425030d
...
...
@@ -39,13 +39,6 @@ import java.util.List;
@Service
(
"SiteStatAllTask"
)
public
class
SiteStatAllTaskImpl
implements
ITaskExcuteService
{
@Autowired
private
PjEvaluateStatService
pjEvaluateStatService
;
@Autowired
private
PhQueueStatService
phQueueStatService
;
@Autowired
private
ICacheService
cacheService
;
@Autowired
private
AccessService
accessService
;
...
...
@@ -63,6 +56,7 @@ public class SiteStatAllTaskImpl implements ITaskExcuteService {
private
void
statByDate
(
Long
compare
)
{
List
<
SitePdu
>
sitePduList
=
accessService
.
getStatSiteList
(
new
AccessQuery
());
DateTime
attendStart
=
DateUtil
.
offsetDay
(
new
Date
(),
-
compare
.
intValue
());
log
.
info
(
"开始统计站点[{}]数量"
,
sitePduList
.
size
());
for
(
SitePdu
site
:
sitePduList
)
{
if
(
ObjectUtils
.
isEmpty
(
site
.
getId
()))
continue
;
StatThread
statThread
=
new
StatThread
(
attendStart
,
compare
,
site
,
null
,
...
...
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