mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-17 01:46:18 +08:00
pgsql distinct bug
This commit is contained in:
parent
c75390f09e
commit
3c12bbee84
@ -85,6 +85,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
this.SelectCacheKey = this.SelectCacheKey + string.Join("-", this.JoinQueryInfos.Select(it => it.TableName));
|
this.SelectCacheKey = this.SelectCacheKey + string.Join("-", this.JoinQueryInfos.Select(it => it.TableName));
|
||||||
}
|
}
|
||||||
|
if (IsDistinct)
|
||||||
|
{
|
||||||
|
result = "distinct "+result;
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user