This commit is contained in:
610262374@qq.com
2017-03-08 14:16:15 +08:00
parent 523fb1d506
commit ec017975fa

View File

@@ -153,7 +153,7 @@ namespace SqlSugar
{
return string.Format(
this.JoinTemplate,
joinInfo.JoinIndex == 1 ? (TableShortName + " " + joinInfo.JoinType.ToString() + " ") : (joinInfo.JoinType.ToString() + " JOIN "),
joinInfo.JoinType.ToString(),
joinInfo.TableName,
joinInfo.ShortName + " " + joinInfo.TableWithString,
joinInfo.JoinWhere);