[fix]修改缓存配置
This commit is contained in:
parent
9ad1de7d1c
commit
15d36d3ec4
@ -410,9 +410,7 @@ public class MemberServiceImpl extends ServiceImpl<MemberMapper,Member> implemen
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@CacheEvict(value = GlobalConstants.MEMBER_KEY, key = "#id")
|
@CacheEvict(value = GlobalConstants.MEMBER_KEY, key = "#entity.id")
|
||||||
|
|
||||||
|
|
||||||
public boolean updateById(Member entity) {
|
public boolean updateById(Member entity) {
|
||||||
return super.updateById(entity);
|
return super.updateById(entity);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user