随笔分类 - SpringBoot Cache
摘要:https://www.nhooo.com/note/qah5c5.html @Cacheable(value = "page_user",key ="T(String).valueOf(#page).concat('-').concat(#pageSize)",unless = "#result=
阅读全文
摘要:https://blog.csdn.net/weixin_44488164/article/details/89479170 常见的如分页查询:使用单引号指定分割符,最终会拼接为一个字符串 @Cacheable(key = "#page+'-'+#pageSize")当然还可以使用单引号自定义字符串
阅读全文