Commit 9326ca57 authored by hanbing's avatar hanbing

信控优化-事件告警时间

parent c5713999
......@@ -180,11 +180,6 @@ public class TrendServiceImpl implements TrendService {
// 时长
if (endTime == null) {
Date nowTime = DateUtil.date();
// todo 时间为演示用,待删除
Date parse = sdf.parse("2022-10-27 09:56:23");
nowTime = parse;
long between = DateUtil.between(startTime, nowTime, DateUnit.MINUTE);
int betweenInt = (int) between;
eventAlarmOutVO.setDuration(betweenInt);
......
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