mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-15 20:49:31 +08:00
Synchronous project
This commit is contained in:
parent
b82b65ea4f
commit
b3c27a0bd0
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user