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
164f2741
Commit
164f2741
authored
Jul 26, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加统计日志
parent
2e695069
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
...in/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
+5
-3
No files found.
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
View file @
164f2741
...
...
@@ -192,7 +192,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
if
(
resp
.
getCode
()
==
1
)
{
List
<
SitePdu
>
sitePduList
=
resp
.
getData
().
getData
();
for
(
SitePdu
site
:
sitePduList
)
{
if
(!
ObjectUtils
.
isEmpty
(
site
.
getId
()))
continue
;
StopWatch
allStopWatch
=
new
StopWatch
(
"allStopWatch"
);
StopWatch
pjqStopWatch
=
new
StopWatch
(
"pjqStopWatch"
);
StopWatch
pdjStopWatch
=
new
StopWatch
(
"pdjStopWatch"
);
...
...
@@ -219,9 +219,11 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
statLogEntity
.
setSiteName
(
site
.
getSiteName
());
AccessQuery
accessQuery
=
new
AccessQuery
();
accessQuery
.
setSiteId
(
site
.
getId
());
accessQuery
.
setSiteId
(
site
.
getId
()
==
null
?
0L
:
site
.
getId
()
);
AccessEntity
accessEntity
=
accessService
.
selectOne
(
accessQuery
);
statLogEntity
.
setAccessId
(
accessEntity
.
getId
());
if
(!
ObjectUtils
.
isEmpty
(
accessEntity
))
{
statLogEntity
.
setAccessId
(
accessEntity
.
getId
());
}
statLogEntity
.
setStatStartTime
(
new
Date
());
statLogEntity
.
setType
(
AccessTypeEnum
.
评价器
.
getValue
());
...
...
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