Dynamic.Core exp string bug

This commit is contained in:
sunkaixuan
2024-03-19 23:41:18 +08:00
parent ffe2865f3d
commit d1bf1ca56d

View File

@@ -26,7 +26,8 @@ namespace SqlSugar
}
public ISugarQueryable<T> AS(string tableName, string shortName)
{
return this.AS($"{this.SqlBuilder.GetTranslationTableName(tableName)} {shortName}");
this.QueryBuilder.TableShortName = shortName;
return this.AS(tableName);
}
public ISugarQueryable<T> OrderBy(List<OrderByModel> models)
{