Beautify the generated SQL

This commit is contained in:
sunkaixuan
2017-07-28 10:18:34 +08:00
parent 12396997ed
commit 4b23eb03d7
4 changed files with 10 additions and 2 deletions

View File

@@ -448,6 +448,11 @@ namespace SqlSugar
{
get
{
if (this.GroupByValue == null) return null;
if (this.GroupByValue.Last() != ' ' )
{
return this.GroupByValue + PubConst.Space;
}
return this.GroupByValue;
}
}