mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-11-30 01:00:07 +08:00
add 增加 excel 枚举翻译 与 导出下拉框功能
This commit is contained in:
@@ -83,4 +83,10 @@ public class DictServiceImpl implements DictService {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, String> getAllDictByDictType(String dictType) {
|
||||
List<RemoteDictDataVo> list = remoteDictService.selectDictDataByType(dictType);
|
||||
return StreamUtils.toMap(list, RemoteDictDataVo::getDictValue, RemoteDictDataVo::getDictLabel);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user