diff --git a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs index c0c1ad93d..46ea6e778 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs @@ -1009,7 +1009,7 @@ namespace SqlSugar if (IsCache) { var cacheService = this.Context.CurrentConnectionConfig.ConfigureExternalServices.DataInfoCache; - result = CacheSchemeMain.GetOrCreate>(cacheService, this.Context, this.QueryBuilder,()=> { return GetData(sqlObj); }); + result = CacheSchemeMain.GetOrCreate>(cacheService, this.QueryBuilder,()=> { return GetData(sqlObj); },CacheTime, this.Context); } else {