diff --git a/opsli-base-support/opsli-core/src/main/java/org/opsli/core/cache/SecurityCache.java b/opsli-base-support/opsli-core/src/main/java/org/opsli/core/cache/SecurityCache.java index 92731a9..3b46b75 100644 --- a/opsli-base-support/opsli-core/src/main/java/org/opsli/core/cache/SecurityCache.java +++ b/opsli-base-support/opsli-core/src/main/java/org/opsli/core/cache/SecurityCache.java @@ -233,7 +233,7 @@ public final class SecurityCache { cache = callbackSource.apply(null); if(null == cache){ // 存储缓存状态 - LFU_NULL_CACHE.put(key, CacheStatus.NOT_EXIST); + LFU_NULL_CACHE.put(tempKey, CacheStatus.NOT_EXIST); return null; } diff --git a/opsli-base-support/opsli-core/src/main/java/org/opsli/core/persistence/Page.java b/opsli-base-support/opsli-core/src/main/java/org/opsli/core/persistence/Page.java index afa6141..7a8c32a 100644 --- a/opsli-base-support/opsli-core/src/main/java/org/opsli/core/persistence/Page.java +++ b/opsli-base-support/opsli-core/src/main/java/org/opsli/core/persistence/Page.java @@ -80,8 +80,8 @@ public class Page extends PageSeriali /** * 分页函数 不统计 count */ - public void pageHelperBegin(boolean countFlag){ - PageHelper.startPage(this.pageNo,this.pageSize, countFlag); + public void pageHelperBegin(boolean isByCount){ + PageHelper.startPage(this.pageNo,this.pageSize, isByCount); } /**