mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
fix: 更新字典清除缓存 key入参错误
This commit is contained in:
parent
c79a2588e4
commit
f1f18a1f03
@ -67,7 +67,7 @@ public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> impl
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
@CacheEvict(value = CacheConstants.DICT_DETAILS, key = "#dict.type")
|
||||
@CacheEvict(value = CacheConstants.DICT_DETAILS, key = "#dict.dictKey")
|
||||
public void updateDict(SysDict dict) {
|
||||
SysDict sysDict = this.getById(dict.getId());
|
||||
// 系统内置
|
||||
|
Loading…
Reference in New Issue
Block a user