修复字典缓存刷新异常BUG

v1.4.1
Parker 4 years ago
parent 9777a4b11b
commit 901e96e0b5

@ -420,9 +420,11 @@ public class DictUtil {
boolean hasNilFlagByValue = CacheUtil.hasNilFlag(DictConstants.CACHE_PREFIX_VALUE +
model.getTypeCode() + ":" + model.getDictValue());
DictWrapper dictByName = CacheUtil.get(DictConstants.CACHE_PREFIX_NAME + model.getTypeCode(),
DictWrapper dictByName = CacheUtil.getHash(DictConstants.CACHE_PREFIX_NAME + model.getTypeCode(),
model.getDictName(),
DictWrapper.class);
DictWrapper dictByValue = CacheUtil.get(DictConstants.CACHE_PREFIX_VALUE + model.getTypeCode(),
DictWrapper dictByValue = CacheUtil.getHash(DictConstants.CACHE_PREFIX_VALUE + model.getTypeCode(),
model.getDictValue(),
DictWrapper.class);
// 计数器

Loading…
Cancel
Save