Commit f5c470c0 authored by hanbing's avatar hanbing

[update] 路口列表加是否信控路口筛选

parent 350f8063
......@@ -87,7 +87,6 @@ public class SceneServiceImpl implements SceneService {
private void checkUnique(AddOrUpdateSceneDTO addOrUpdateSceneDTO) {
Set<String> strategyNameSet = new HashSet<>();
Set<String> ideaNameSet = new HashSet<>();
List<AddOrUpdateSceneDTO.StrategyListElement> strategyList = addOrUpdateSceneDTO.getStrategyList();
for (AddOrUpdateSceneDTO.StrategyListElement strategyListElement : strategyList) {
String strategyName = strategyListElement.getStrategyName();
......@@ -95,6 +94,7 @@ public class SceneServiceImpl implements SceneService {
if (!addStrategy) {
throw new UniqueException();
}
Set<String> ideaNameSet = new HashSet<>();
List<AddOrUpdateSceneDTO.IdeaListElement> ideaList = strategyListElement.getIdeaList();
for (AddOrUpdateSceneDTO.IdeaListElement ideaListElement : ideaList) {
String ideaName = ideaListElement.getIdeaName();
......
......@@ -24,6 +24,7 @@
<if test="status == null">
and t1.status in (0, 1, 2, 3)
</if>
and t2.is_signal = 1
</where>
</select>
......
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