1、新增合并查询节点信息接口

This commit is contained in:
2026-03-12 14:26:15 +08:00
parent 8d69b1624f
commit ebb782414a
6 changed files with 134 additions and 1 deletions

View File

@@ -32,6 +32,16 @@ public class TagMapService {
return tagMapList.getData().stream().collect(Collectors.toMap(DataDictionary::getDictValue, DataDictionary::getDictName));
}
public Map<String, String> getTagMapValue() {
SdmResponse<List<DataDictionary>> tagMapList = sysConfigFeignClient.getDictionaryData(TagConstant.DICTIONARY_TAG_KEY);
if (!tagMapList.isSuccess() || ObjectUtils.isEmpty(tagMapList.getData())) {
log.error("字典信息查询失败");
return emptyMap();
}
// project-->tag1 phase-->tag2
return tagMapList.getData().stream().collect(Collectors.toMap(DataDictionary::getDictName, DataDictionary::getDictValue));
}
/**
* 是否节点类型
*/