Browse Source

BUG SqlFunc.IF(xx).Return(1).End(0) MergeTable

pull/2/head
skx 4 years ago
parent
commit
c7118eed25
  1. 4
      Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/QueryBuilder.cs

4
Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/QueryBuilder.cs

@ -486,6 +486,10 @@ namespace SqlSugar
{
var result = Builder.GetTranslationTableName(EntityName);
result += UtilConstants.Space;
if (result.Contains("MergeTable") && result.Trim().EndsWith(" MergeTable"))
{
TableShortName = null;
}
if (this.TableShortName.HasValue())
{
result += (TableShortName + UtilConstants.Space);

Loading…
Cancel
Save