Commit ea58417e authored by hanbing's avatar hanbing

灯组号未配置,返回前端错误提示

parent 35383dab
......@@ -172,6 +172,8 @@ public class CrossConfigServiceImpl implements CrossConfigService {
} else { // 行人灯
String firstDigit = address.toString().substring(0, 1);
crossLightsPO.setDir(Integer.parseInt(firstDigit));
// 如果是行人灯,则不需要配置车道
lightCodeSet.remove(lightCode);
}
crossLightsPO.setSort(ledConfigListElement.getOrder());
crossLightsPO.setCrossId(crossId);
......
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