1、新增合并查询节点信息接口
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否节点类型
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user