mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-16 07:57:33 +08:00
Optimized code
This commit is contained in:
parent
6d75569c5a
commit
f94d8297c8
@ -1416,7 +1416,8 @@ namespace SqlSugar
|
|||||||
var sql = ps.GetSelectValue;
|
var sql = ps.GetSelectValue;
|
||||||
if (string.IsNullOrEmpty(sql) || sql.Trim() == "*")
|
if (string.IsNullOrEmpty(sql) || sql.Trim() == "*")
|
||||||
{
|
{
|
||||||
return this.Select<TResult>(expression);
|
this.QueryBuilder.SelectValue = null;
|
||||||
|
return this.Select<TResult>();
|
||||||
}
|
}
|
||||||
if (sql.StartsWith("*,"))
|
if (sql.StartsWith("*,"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user