提交 318925e3 编写于 作者: zhouweidong's avatar zhouweidong

修复global一级缓存无法清除Bug

上级 4566b708
......@@ -38,11 +38,11 @@ public interface AuthenticationUserService extends UserDetailsService {
@Cacheable( value="${cachename}", key = "'getByUsername:'+#p0")
AuthenticationUser loadUserByLogin(String username,String password);
@CacheEvict( value="${cachename}", key = "'glob:*:getByUsername:'+#p0")
@CacheEvict( value="${cachename}", key = "'glob:*getByUsername:'+#p0")
default void resetByUsername(String username){}
<#if pub.isEnableModelRT()>
@CacheEvict(value = "ibzuaa_users", key = "'glob:*:getByUsername:'+#p2")
@CacheEvict(value = "ibzuaa_users", key = "'glob:*getByUsername:'+#p2")
default void resetByUsername(String srfsystem,String srforgid, String username){
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册