mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Synchronous project
This commit is contained in:
@@ -2187,7 +2187,7 @@ namespace SqlSugar
|
||||
this.QueryBuilder.IsDistinct==false)
|
||||
{
|
||||
var list = await this.Clone().Select<int>(" COUNT(1) ").ToListAsync();
|
||||
return list.First();
|
||||
return list.FirstOrDefault();
|
||||
}
|
||||
MappingTableList expMapping;
|
||||
int result;
|
||||
|
||||
Reference in New Issue
Block a user