Commit 40c6e411 authored by duanruiming's avatar duanruiming

[update] 运行模式统计优化

parent ed7371d0
...@@ -689,16 +689,16 @@ public class SituationDetectionServiceImpl implements SituationDetectionService ...@@ -689,16 +689,16 @@ public class SituationDetectionServiceImpl implements SituationDetectionService
for (SignalOperationModeVO modeVO : signalOperationModeVOS) { for (SignalOperationModeVO modeVO : signalOperationModeVOS) {
Integer type = modeVO.getType(); Integer type = modeVO.getType();
if (Objects.nonNull(type)) { if (Objects.nonNull(type)) {
if (type == 1 || type == 5) { if (type < 6) {
centerOptCount++; centerOptCount++;
} }
if (type == 6) { // todo 提供测试数据,边缘优化还没有 if (type == 6) { // todo 提供测试数据,边缘优化还没有
borderOptCount++; borderOptCount++;
} }
if (type == 2 || type == 3 || type == 4) { if (type == 7) {
manualOptCount++; manualOptCount++;
} }
if (type == 7) { // todo 提供测试数据, 特勤 if (type == 8) { // todo 提供测试数据, 特勤
specialOptCount++; specialOptCount++;
} }
} }
......
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