字典调整

This commit is contained in:
670788339
2025-07-21 13:27:35 +08:00
parent 413a2ebc33
commit f5f7ab3bc5
3 changed files with 20 additions and 10 deletions

View File

@@ -406,12 +406,12 @@ public class ThirdApi {
}
//获取字典信息
public List<String> getDictItems(CommonSearchVo searcher) {
public List<Dict> getDictItems(CommonSearchVo searcher) {
try {
List<Dict> dictList = dictRemoteClient.getList(searcher);
if(!Objects.isNull(dictList) && dictList.size() > 0){
List<String> dicts = dictList.stream().map(Dict::getValue).collect(Collectors.toList());
return dicts;
// List<String> dicts = dictList.stream().map(Dict::getValue).collect(Collectors.toList());
return dictList;
}else {
return null;
}