Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
fanxing3-integration
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ac4e063b
authored
Jun 24, 2022
by
毛树良
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
<fix>:优化
1 parent
79408aa2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
fanxing-docking-gb1400/src/main/java/com/viontech/scheduled/TrafficVehicleScheduled.java
fanxing-docking-gb1400/src/main/java/com/viontech/scheduled/TrafficVehicleScheduled.java
View file @
ac4e063
...
@@ -37,7 +37,7 @@ public class TrafficVehicleScheduled {
...
@@ -37,7 +37,7 @@ public class TrafficVehicleScheduled {
@Autowired
@Autowired
private
TrafficDataConvertHandler
trafficDataConvertHandler
;
private
TrafficDataConvertHandler
trafficDataConvertHandler
;
@Scheduled
(
cron
=
"0/
5
* * * * ?"
)
@Scheduled
(
cron
=
"0/
1
* * * * ?"
)
public
void
handleVehicle
()
{
public
void
handleVehicle
()
{
log
.
info
(
"开始处理过车数据"
);
log
.
info
(
"开始处理过车数据"
);
if
(!
Gb1400Constants
.
LinkStatus
)
{
if
(!
Gb1400Constants
.
LinkStatus
)
{
...
@@ -59,7 +59,7 @@ public class TrafficVehicleScheduled {
...
@@ -59,7 +59,7 @@ public class TrafficVehicleScheduled {
}
}
int
offset
=
0
;
int
offset
=
0
;
int
limit
=
2
0
;
int
limit
=
10
0
;
//utc时间,当前时间减8小时
//utc时间,当前时间减8小时
String
event_dt__gte
=
lastTimeUtc
;
String
event_dt__gte
=
lastTimeUtc
;
String
event_dt__lt
=
currentTimeUtc
;
String
event_dt__lt
=
currentTimeUtc
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment