Commit fa8d228c authored by hanbing's avatar hanbing

[update] 诊断优化,折线图采集时间转为long型

parent f0f150fb
......@@ -377,8 +377,9 @@ public class DiagnoServiceImpl implements DiagnoService {
for (CrossDirDataHistPO crossDirDataHistPO : crossDirDataHistPOList) {
OptEffectVO.IndexDelay indexDelay = new OptEffectVO.IndexDelay();
// 获取采集时间
Integer batchTime = crossDirDataHistPO.getBatchTime();
Date date = DateUtil.date(batchTime * 1000);
long batchTimeLong = crossDirDataHistPO.getBatchTime();
batchTimeLong *= 1000;
Date date = DateUtil.date(batchTimeLong);
indexDelay.setTime(date);
indexDelay.setIndex(crossDirDataHistPO.getTrafficIndex());
indexDelay.setDelay(crossDirDataHistPO.getDelayTime());
......
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