mirror of https://github.com/elunez/eladmin
parent
a0a1283970
commit
47a9179988
|
@ -93,6 +93,6 @@ public class DictDetailServiceImpl implements DictDetailService {
|
|||
|
||||
public void delCaches(DictDetail dictDetail){
|
||||
Dict dict = dictRepository.findById(dictDetail.getDict().getId()).orElseGet(Dict::new);
|
||||
redisUtils.del("dept::name:" + dict.getName());
|
||||
redisUtils.del("dict::name:" + dict.getName());
|
||||
}
|
||||
}
|
|
@ -115,6 +115,6 @@ public class DictServiceImpl implements DictService {
|
|||
}
|
||||
|
||||
public void delCaches(Dict dict){
|
||||
redisUtils.del("dept::name:" + dict.getName());
|
||||
redisUtils.del("dict::name:" + dict.getName());
|
||||
}
|
||||
}
|
|
@ -219,6 +219,5 @@ public class RoleServiceImpl implements RoleService {
|
|||
redisUtils.delByKeys(CacheKey.ROLE_AUTH, userIds);
|
||||
redisUtils.del(CacheKey.ROLE_ID + id);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue