Update .net core project

This commit is contained in:
sunkaixuan 2022-08-18 16:09:43 +08:00
parent bc1a4eb49e
commit d74d3dbfbb

View File

@ -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);
}