Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
knowledge_graph
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
Sun Long
knowledge_graph
Commits
7a489ae9
Commit
7a489ae9
authored
May 10, 2022
by
lyh3024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
Change-Id: I6ad08d86c63fe973bc40d7428f8038f6e6f54c86
parent
6722dc22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
views.py
route/views.py
+1
-1
No files found.
route/views.py
View file @
7a489ae9
...
...
@@ -60,7 +60,7 @@ def get_first_ips(province, city, isp, root_ip, from_time, end_time):
query_extend
.
append
(
'f.root_ip = $root_ip '
)
if
from_time
and
end_time
:
params
[
'from_time'
]
=
from_time
.
timestamp
()
params
[
'en
t
_time'
]
=
end_time
.
timestamp
()
params
[
'en
d
_time'
]
=
end_time
.
timestamp
()
query_extend
.
append
(
'n.date >= $from_time '
)
query_extend
.
append
(
'n.date <= $end_time '
)
if
len
(
query_extend
)
!=
0
:
...
...
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