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