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