Commit a936cd91 authored by duanruiming's avatar duanruiming

[update] 相位倒计时优化9

parent c9b15d8e
......@@ -223,7 +223,7 @@ public class DTSignalStatusServiceImpl implements SignalStatusService {
// 当运行时间小于过渡时,运行的时上一个阶段,
int realRemainTime = phaseStageStatusPojo.getRemainTime();
Integer runningTime = phaseStageStatusPojo.getRunningTime();
if (realRemainTime < phaseStageTime - redTime) {
if (realRemainTime <= phaseStageTime - redTime) {
lightsStatusVO.setPhaseId(String.valueOf(currentPhaseStageId));
lightsStatusVO.setCyclePhaseCountDown(realRemainTime);
} else {
......
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