Synchronization code

This commit is contained in:
sunkaixuan
2024-03-19 23:43:38 +08:00
parent 18f64b5203
commit c49a0076cd

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)
{