|
|
@ -316,7 +316,7 @@ namespace SqlSugar |
|
|
|
var sql = clone.QueryBuilder.GetSelectValue; |
|
|
|
if (this.QueryBuilder.IsSingle() || string.IsNullOrEmpty(sql) || sql.Trim() == "*") |
|
|
|
{ |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
sql = " "; |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.SubToListParameters = clone.QueryBuilder.SubToListParameters; |
|
|
@ -1044,7 +1044,7 @@ namespace SqlSugar |
|
|
|
var sql = clone.QueryBuilder.GetSelectValue; |
|
|
|
if (this.QueryBuilder.IsSingle() || string.IsNullOrEmpty(sql) || sql.Trim() == "*") |
|
|
|
{ |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
sql = " "; |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.SubToListParameters = clone.QueryBuilder.SubToListParameters; |
|
|
@ -1779,7 +1779,7 @@ namespace SqlSugar |
|
|
|
var sql = clone.QueryBuilder.GetSelectValue; |
|
|
|
if (this.QueryBuilder.IsSingle() || string.IsNullOrEmpty(sql) || sql.Trim() == "*") |
|
|
|
{ |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
sql = " "; |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.SubToListParameters = clone.QueryBuilder.SubToListParameters; |
|
|
@ -2428,7 +2428,7 @@ namespace SqlSugar |
|
|
|
var sql = clone.QueryBuilder.GetSelectValue; |
|
|
|
if (this.QueryBuilder.IsSingle() || string.IsNullOrEmpty(sql) || sql.Trim() == "*") |
|
|
|
{ |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
sql = " "; |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.SubToListParameters = clone.QueryBuilder.SubToListParameters; |
|
|
@ -3114,7 +3114,7 @@ namespace SqlSugar |
|
|
|
var sql = clone.QueryBuilder.GetSelectValue; |
|
|
|
if (this.QueryBuilder.IsSingle() || string.IsNullOrEmpty(sql) || sql.Trim() == "*") |
|
|
|
{ |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
sql = " "; |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.SubToListParameters = clone.QueryBuilder.SubToListParameters; |
|
|
|