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