mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Format sql
This commit is contained in:
parent
6cee4d547d
commit
bac712c597
@ -641,12 +641,12 @@ namespace SqlSugar
|
||||
result += UtilConstants.Space;
|
||||
if (IsSingle() && result.Contains("MergeTable") && result.Trim().EndsWith(" MergeTable") && TableShortName != null)
|
||||
{
|
||||
result = result.Replace(") MergeTable ", ") " + TableShortName);
|
||||
result = result.Replace(") MergeTable ", ") " + TableShortName+UtilConstants.Space);
|
||||
TableShortName = null;
|
||||
}
|
||||
if (IsSingle() && result.Contains("unionTable") && result.Trim().EndsWith(" unionTable")&& TableShortName!=null)
|
||||
{
|
||||
result = result.Replace(" ) unionTable ", ") "+TableShortName);
|
||||
result = result.Replace(" ) unionTable ", ") "+TableShortName + UtilConstants.Space);
|
||||
TableShortName = null;
|
||||
}
|
||||
if (this.TableShortName.HasValue())
|
||||
|
Loading…
Reference in New Issue
Block a user