fix(项目管理): 缺陷项目Key配置校验报错问题
This commit is contained in:
parent
a0f704b6f6
commit
1e5a6eae13
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue