fix(测试跟踪): 缺陷平台筛选显示多个Jira
--bug=1020034 --user=陈建星 【测试跟踪】缺陷管理-平台-筛选框重复显示jira https://www.tapd.cn/55049933/s/1300808
This commit is contained in:
parent
4ff72c0b7f
commit
6db72d197a
|
@ -248,7 +248,9 @@ public class PlatformPluginService {
|
||||||
integrations.stream()
|
integrations.stream()
|
||||||
.filter(integration -> StringUtils.equals(integration.getPlatform(), option.getValue()))
|
.filter(integration -> StringUtils.equals(integration.getPlatform(), option.getValue()))
|
||||||
.collect(Collectors.toList()).size() > 0
|
.collect(Collectors.toList()).size() > 0
|
||||||
).collect(Collectors.toList());
|
)
|
||||||
|
.distinct()
|
||||||
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<String> getThirdPartTemplateSupportPlatform() {
|
public List<String> getThirdPartTemplateSupportPlatform() {
|
||||||
|
|
|
@ -130,6 +130,8 @@ public class PlatformPluginService {
|
||||||
integrations.stream()
|
integrations.stream()
|
||||||
.filter(integration -> StringUtils.equals(integration.getPlatform(), option.getValue()))
|
.filter(integration -> StringUtils.equals(integration.getPlatform(), option.getValue()))
|
||||||
.collect(Collectors.toList()).size() > 0
|
.collect(Collectors.toList()).size() > 0
|
||||||
).collect(Collectors.toList());
|
)
|
||||||
|
.distinct()
|
||||||
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue