code optimization

This commit is contained in:
sunkaixuna
2021-08-07 02:58:35 +08:00
parent fbaf5411ab
commit c5c45ee2f9

View File

@@ -1794,7 +1794,7 @@ namespace SqlSugar
protected List<TResult> _ToList<TResult>()
{
List<TResult> result = null;
var sqlObj = this.ToSql();
var sqlObj = this._ToSql();
if (IsCache)
{
var cacheService = this.Context.CurrentConnectionConfig.ConfigureExternalServices.DataInfoCacheService;