修复编辑字典详情编辑报错问题
This commit is contained in:
parent
b83c33b7c1
commit
9437a9e186
@ -84,7 +84,7 @@ public class DictDetailServiceImpl extends ServiceImpl<DictDetailMapper, DictDet
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void delCaches(DictDetail dictDetail){
|
public void delCaches(DictDetail dictDetail){
|
||||||
Dict dict = dictMapper.selectById(dictDetail.getDictId());
|
Dict dict = dictMapper.selectById(dictDetail.getDict().getId());
|
||||||
redisUtils.del(CacheKey.DICT_NAME + dict.getName());
|
redisUtils.del(CacheKey.DICT_NAME + dict.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user