This commit is contained in:
sunkaixuan 2022-04-08 21:41:47 +08:00
parent 34bdf40eeb
commit 1863705973

View File

@ -652,7 +652,7 @@ namespace SqlSugar
result = result.Replace(" ) unionTable ", ") "+TableShortName + UtilConstants.Space);
TableShortName = null;
}
if (this.TableShortName.HasValue())
if (this.TableShortName.HasValue()&&!IsSqlQuery)
{
result += (TableShortName + UtilConstants.Space);
}