Commit 69885154 authored by KeYong's avatar KeYong

修改bug

parent 55c76fce
......@@ -388,6 +388,11 @@ public class SupervisionConfigureController extends AbstractBaseController {
pressurePumpInfo.getRecords().stream(
).map(item -> {
item.put("startAndStopInterval", finalDiffMinute);
if (finalDiffMinute > 5) {
item.put("stateDesc", "异常");
} else {
item.put("stateDesc", "正常");
}
item.put("nameKey", pressurePumpStart);
return item;
}).collect(Collectors.toList());
......
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