fix(项目管理): 缺陷项目Key配置校验报错问题

This commit is contained in:
song-cc-rock 2024-03-06 16:11:34 +08:00 committed by 刘瑞斌
parent a0f704b6f6
commit 1e5a6eae13
1 changed files with 3 additions and 4 deletions

View File

@ -508,10 +508,9 @@ public class ProjectApplicationService {
// 查询服务集成中启用并且支持第三方模板的插件
ServiceIntegration integration = serviceIntegrationService.getServiceIntegrationByOrgId(organizationId)
.stream()
.filter(serviceIntegration -> {
return serviceIntegration.getEnable() // 服务集成开启
&& orgPluginIds.contains(pluginId);
})
.filter(serviceIntegration -> serviceIntegration.getEnable() // 服务集成开启
&& orgPluginIds.contains(pluginId)
&& StringUtils.equals(serviceIntegration.getPluginId(), pluginId))
.findFirst()
.orElse(null);
if (integration == null) {