mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Update .net core project
This commit is contained in:
parent
bc1a4eb49e
commit
d74d3dbfbb
@ -115,7 +115,7 @@ namespace SqlSugar
|
||||
}
|
||||
public override string ToCountSql(string sql)
|
||||
{
|
||||
if (this.GroupByValue.HasValue())
|
||||
if (this.GroupByValue.HasValue()||this.IsDistinct)
|
||||
{
|
||||
return base.ToCountSql(sql);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user