Commit 37d133e8 authored by hanbing's avatar hanbing

[update] 统一信控-方案管理,优化行人相位方向

parent 1fd2f444
...@@ -357,8 +357,9 @@ public class SchemeConfigServiceImpl implements SchemeConfigService { ...@@ -357,8 +357,9 @@ public class SchemeConfigServiceImpl implements SchemeConfigService {
for (CrossPhaseLightsPO crossPhaseLightsPO : crossPhaseLightsPOList1) { for (CrossPhaseLightsPO crossPhaseLightsPO : crossPhaseLightsPOList1) {
Integer lightsId = crossPhaseLightsPO.getLightsId(); Integer lightsId = crossPhaseLightsPO.getLightsId();
BaseCrossLightsPO baseCrossLightsPO = baseCrossLightsMapper.selectById(lightsId); BaseCrossLightsPO baseCrossLightsPO = baseCrossLightsMapper.selectById(lightsId);
Integer lightsDir = baseCrossLightsPO.getDir();
Integer type = baseCrossLightsPO.getType(); Integer type = baseCrossLightsPO.getType();
if (type >= 20 && type < 30) { if (type >= 20 && type < 30 && Objects.equals(lightsDir, dir)) {
dirListElement.setHasPersonPhase(1); dirListElement.setHasPersonPhase(1);
} }
} }
......
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