提交 92044b19 编写于 作者: zhouweidong's avatar zhouweidong

调整saas开关

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