jetcache icon indicating copy to clipboard operation
jetcache copied to clipboard

@Cached、@CacheUpdate中的key、value是否像postCondition 、condition可以使用SpEL访问到#result对象?

Open liumangafei opened this issue 3 months ago • 4 comments

如标题,是否可以下面这样使用?

例子: @Cached(key="#result.id", value="#result")

我在文档中没有发现key、value中有提到可以使用#result 但我需求是在dao层,insert、update方法入参对象不完整,返回的对象才是我想要缓存的对象,不知是否支持?

liumangafei avatar Mar 21 '24 08:03 liumangafei