RuoYi
2022-04-23 784728f66376e337f8ce6ef3d22cbc98e37b52f4
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;
                    }
                }