fix(缺陷管理): 模板字段被删除缺陷管理报错问题
--bug=1036737 --user=宋昌昌 【缺陷管理】查看缺陷管理模块失败 https://www.tapd.cn/55049933/s/1468807
This commit is contained in:
parent
3b64b8ca76
commit
8baf7f5c13
|
@ -114,7 +114,7 @@ public class BaseTemplateService {
|
|||
|
||||
// 封装自定义字段信息
|
||||
List<TemplateCustomFieldDTO> fieldDTOS = templateCustomFields.stream()
|
||||
.filter(i -> !BooleanUtils.isTrue(i.getSystemField()))
|
||||
.filter(i -> !BooleanUtils.isTrue(i.getSystemField()) && fieldMap.containsKey(i.getFieldId()))
|
||||
.sorted(Comparator.comparingInt(TemplateCustomField::getPos))
|
||||
.map(i -> {
|
||||
CustomField customField = fieldMap.get(i.getFieldId());
|
||||
|
|
|
@ -54,4 +54,4 @@ public class PlatformPluginService {
|
|||
public List<Plugin> getOrgEnabledPlatformPlugins(String orgId) {
|
||||
return basePluginService.getOrgEnabledPlugins(orgId, PluginScenarioType.PLATFORM);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue