mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 18:34:55 +08:00
-
This commit is contained in:
@@ -100,9 +100,9 @@ namespace SqlSugar
|
|||||||
if (this.SelectValue.IsNullOrEmpty())
|
if (this.SelectValue.IsNullOrEmpty())
|
||||||
{
|
{
|
||||||
string pre = null;
|
string pre = null;
|
||||||
if (this.JoinQueryInfos.IsValuable() && this.JoinQueryInfos.Any(it => it.PreShortName.IsValuable()))
|
if (this.JoinQueryInfos.IsValuable() && this.JoinQueryInfos.Any(it => TableShortName.IsValuable()))
|
||||||
{
|
{
|
||||||
pre = Builder.GetTranslationColumnName(this.JoinQueryInfos.Single(it => it.PreShortName.IsValuable()).PreShortName) + ".";
|
pre = Builder.GetTranslationColumnName(TableShortName) + ".";
|
||||||
}
|
}
|
||||||
reval = string.Join(",", this.Context.Database.DbMaintenance.GetColumnInfosByTableName(this.EntityName).Select(it => pre + Builder.GetTranslationColumnName(it.ColumnName)));
|
reval = string.Join(",", this.Context.Database.DbMaintenance.GetColumnInfosByTableName(this.EntityName).Select(it => pre + Builder.GetTranslationColumnName(it.ColumnName)));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user