Commit c9b15d8e authored by duanruiming's avatar duanruiming

[update] 相位倒计时优化8

parent ab37e14a
......@@ -232,7 +232,7 @@ public class DTSignalStatusServiceImpl implements SignalStatusService {
if (index == 0) {
preStageId = phaseStageChain.get(phaseStageChain.size() - 1);
} else {
preStageId = phaseStageChain.get(index);
preStageId = phaseStageChain.get(index - 1);
}
lightsStatusVO.setPhaseId(String.valueOf(preStageId));
lightsStatusVO.setCyclePhaseCountDown(phaseStageStatusPojo.getRemainTime());
......
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