Provides cached dictionary lookup utilities for label/value conversions.
// Source: https://github.com/YunaiV/ruoyi-vue-pro | License: MIT | Copyright 2021 ruoyi-vue-pro // Provided via justclaw.it.com; keep this notice with the code. package cn.iocoder.yudao.framework.dict.core; import cn.hutool.core.collection.CollUtil; import cn.iocoder.yudao.framework.common.biz.system.dict.DictDataCommonApi; import cn.iocoder.yudao.framework.common.util.cache.CacheUtils; import cn.iocoder.yudao.framework.common.biz.system.dict.dto.DictDataRespDTO; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import lombok.SneakyThrows; import lombok.extern.slf4j.Slf4j; import java.time.Duration; import java.util.List; import java.util.Objects; import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.convertList; /** * ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key