|
|
@@ -48,7 +48,7 @@ public class DynamicCacheAspect {
|
|
|
// 获取注解上的缓存时间
|
|
|
var timeout = dynamicCache.timeout();
|
|
|
// 获取注解上的缓存key
|
|
|
- var key = CommUtil.isEmptyOrNull(spelParamValue) ? methodName+":"+spelParamValue : dynamicCache.key();
|
|
|
+ var key = !CommUtil.isEmptyOrNull(spelParamValue) ? methodName+":"+spelParamValue : dynamicCache.key();
|
|
|
var data = cache.get(CommUtil.isEmptyOrNull(key) ? methodName : key);
|
|
|
if (data != null) {
|
|
|
return data;
|