Commit 9ebbc1b4 authored by duanruiming's avatar duanruiming

[update] 相位倒计时优化2

parent 3b0b1adc
......@@ -226,8 +226,8 @@ public class DTSignalStatusServiceImpl implements SignalStatusService {
lightsStatusVO.setCyclePhaseCountDown(realRemainTime);
} else {
PhaseStageInfoPojo nextPhaseStageInfoPojo = null;
if (l + 1 <= phaseStageInfoPojos.size()) {
nextPhaseStageInfoPojo = phaseStageInfoPojos.get(l + 1);
if (l< phaseStageInfoPojos.size()) {
nextPhaseStageInfoPojo = phaseStageInfoPojos.get(l);
} else {
nextPhaseStageInfoPojo = phaseStageInfoPojos.get(0);
}
......
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