diff --git a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java index 75eab372eb..9a9abeb5e5 100644 --- a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java +++ b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java @@ -173,7 +173,7 @@ public class SysDictDataServiceImpl extends BaseServiceImpl getNationOption() { - String cacheKey = RedisKeys.getEducationOptions(); + String cacheKey = RedisKeys.getNationOptions(); List cachedDatas = JSON.parseObject(redisUtils.getString(cacheKey), new TypeReference>(){}); if (cachedDatas != null) { return cachedDatas; diff --git a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java index bd1fff179d..e92f1a608f 100644 --- a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java +++ b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/redis/RedisKeys.java @@ -1019,6 +1019,10 @@ public class RedisKeys { return rootPrefix.concat("icform:options:education"); } + public static String getNationOptions() { + return rootPrefix.concat("icform:options:nation"); + } + /** * 住房性质 * @author wxz