RuoYi
2022-02-25 1e67889d7cd4a9980e28c22563dc7ec0e081ca07
src/main/java/com/ruoyi/common/utils/DictUtils.java
@@ -41,8 +41,7 @@
        Object cacheObj = SpringUtils.getBean(RedisCache.class).getCacheObject(getCacheKey(key));
        if (StringUtils.isNotNull(cacheObj))
        {
            List<SysDictData> dictDatas = StringUtils.cast(cacheObj);
            return dictDatas;
            return StringUtils.cast(cacheObj);
        }
        return null;
    }
@@ -92,7 +91,7 @@
                {
                    if (value.equals(dict.getDictValue()))
                    {
                        propertyString.append(dict.getDictLabel() + separator);
                        propertyString.append(dict.getDictLabel()).append(separator);
                        break;
                    }
                }
@@ -132,7 +131,7 @@
                {
                    if (label.equals(dict.getDictLabel()))
                    {
                        propertyString.append(dict.getDictValue() + separator);
                        propertyString.append(dict.getDictValue()).append(separator);
                        break;
                    }
                }