Commit 92210f82 authored by hanbing's avatar hanbing

[update] 信号优化,态势监测-问题路口详情固定测试时间

parent 1e676e4c
......@@ -862,6 +862,8 @@ public class TrendServiceImpl implements TrendService {
List<AbnormalCrossDetailVO.DirDataElement> dirData = new ArrayList<>();
// 获取当前时间之前40分钟的10位时间戳
long currentSeconds = DateUtil.currentSeconds();
// todo 测试,当前时间固定为 1676082536
currentSeconds = 1676082536;
long preSeconds = currentSeconds - 40 * 60;
List<CrossDirDataHistPO> crossDirDataHistPOList =
crossDirDataHistMapper.selectByCrossIdAndTimestamp(crossId, preSeconds);
......
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