Commit f2520cc0 authored by duanruiming's avatar duanruiming

Merge remote-tracking branch 'origin/master'

parents 4f95c987 de0b467f
...@@ -129,7 +129,7 @@ public class EventServiceImpl implements EventService { ...@@ -129,7 +129,7 @@ public class EventServiceImpl implements EventService {
groupByType.forEach((type, valList2) -> { groupByType.forEach((type, valList2) -> {
EventInfoSimplePo tmp = null; EventInfoSimplePo tmp = null;
for (EventInfoSimplePo po : valList2) { for (EventInfoSimplePo po : valList2) {
po.setDate(DateUtil.formatDate(po.getStartTime(), "M/d")); po.setDate(net.wanji.common.utils.tool.DateUtil.formatDate(po.getStartTime(), "M/d"));
//合并时间重叠事件 //合并时间重叠事件
if (tmp != null) { if (tmp != null) {
Date agoStartTime = tmp.getStartTime(); Date agoStartTime = tmp.getStartTime();
......
...@@ -58,8 +58,9 @@ ...@@ -58,8 +58,9 @@
DATE_FORMAT( start_time, '%Y-%m-%d %H:%i:00' ) start_time, DATE_FORMAT( start_time, '%Y-%m-%d %H:%i:00' ) start_time,
round(AVG(speed),2) speed, round(AVG(speed),2) speed,
round(AVG(delay_time)) delay_time, round(AVG(delay_time)) delay_time,
round(AVG(stop_times)) stop_times, round(AVG(stop_times),2) stop_times,
round(AVG(trval_time)) trval_time round(AVG(trval_time)) trval_time,
round(AVG(if(queue_length=-1,null,queue_length))) queue_length
FROM FROM
t_greenwave_hist t_greenwave_hist
where 1=1 where 1=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment