| | |
| | | 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;
|
| | | }
|
| | |
| | | {
|
| | | if (value.equals(dict.getDictValue()))
|
| | | {
|
| | | propertyString.append(dict.getDictLabel() + separator);
|
| | | propertyString.append(dict.getDictLabel()).append(separator);
|
| | | break;
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | if (label.equals(dict.getDictLabel()))
|
| | | {
|
| | | propertyString.append(dict.getDictValue() + separator);
|
| | | propertyString.append(dict.getDictValue()).append(separator);
|
| | | break;
|
| | | }
|
| | | }
|