Commit 98a2cd1d authored by duwei's avatar duwei

异常事件时空分布 采用前端传递参数查询

parent a26eaf6d
......@@ -628,7 +628,8 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService {
for (MetricHistDTO metricHistDTO : uniqueList) {
RunningEvaluateMetricsDetailVO.ProblemStatus problemStatus = new RunningEvaluateMetricsDetailVO.ProblemStatus();
Integer status1 = metricHistDTO.getStatus();
Integer duration1 = metricHistDTO.getDuration();
//todo 产品在数据库中用的是秒,所以这里要转为分钟
Integer duration1 = metricHistDTO.getDuration() /60;
Date startTime1 = metricHistDTO.getStartTime();
DateTime endTime = DateUtil.offsetMinute(startTime1, duration1);
......
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