Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
recv_data_longhua
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 366d81b8
authored
Sep 23, 2020
by
zhangxk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改事件结束时间,暂定和开始时间一致
1 parent
a85a65d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/com/viontech/process/BehaviorProcess.java
src/main/java/com/viontech/process/BehaviorProcess.java
View file @
366d81b
...
@@ -55,9 +55,9 @@ public class BehaviorProcess implements Process {
...
@@ -55,9 +55,9 @@ public class BehaviorProcess implements Process {
long
time
=
DateUtil
.
parse
(
DateUtil
.
FORMAT_FULL
,
eventDtStr
).
getTime
();
long
time
=
DateUtil
.
parse
(
DateUtil
.
FORMAT_FULL
,
eventDtStr
).
getTime
();
model
.
setEventStartSecond
((
int
)
(
time
/
1000
));
model
.
setEventStartSecond
((
int
)
(
time
/
1000
));
model
.
setEventStartMillisecond
((
int
)
(
time
%
1000
));
model
.
setEventStartMillisecond
((
int
)
(
time
%
1000
));
//
todo 结束时间待完成
//
结束时间暂定和开始时间一致
model
.
setEventEndSecond
(
0
);
model
.
setEventEndSecond
(
(
int
)
(
time
/
1000
)
);
model
.
setEventEndMillisecond
(
0
);
model
.
setEventEndMillisecond
(
(
int
)
(
time
%
1000
)
);
}
}
String
eventType
=
jsonObject
.
getString
(
"event_type"
);
String
eventType
=
jsonObject
.
getString
(
"event_type"
);
...
...
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