add 增加 excel 枚举翻译 与 导出下拉框功能

This commit is contained in:
疯狂的狮子Li
2023-06-25 11:12:49 +08:00
parent c7b9d86c9f
commit ea06ced650
12 changed files with 1187 additions and 39 deletions

View File

@@ -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);
}
}