product:初始化代码

This commit is contained in:
YunaiV
2023-10-22 17:01:10 +08:00
parent 6a51097e1d
commit 6653c074fa
164 changed files with 10026 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ public class DictFrameworkUtils {
log.info("[init][初始化 DictFrameworkUtils 成功]");
}
@SneakyThrows
public static String getDictDataLabel(String dictType, Integer value) {
return GET_DICT_DATA_CACHE.get(new KeyValue<>(dictType, String.valueOf(value))).getLabel();
}
@SneakyThrows
public static String getDictDataLabel(String dictType, String value) {
return GET_DICT_DATA_CACHE.get(new KeyValue<>(dictType, value)).getLabel();