首页 > 编程知识 正文

cacheable注解,cacheevict

时间:2023-05-06 03:19:32 阅读:17541 作者:2628

/** *用户组*/@ cache evict (cache names=' mybatiscache ',key=''SysUserGroup' #groupId ' ) publicstringupdatebyid 角色身份!=null (usergrouproledao.replace (groupid,roleType,roleId ) ); } return Result.success (; } /** *用户组*/@ cacheable (cache names=' mybatiscache ',key=''SysUserGroup' #id ' ) publicsysusergroupqueryquery

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。