mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Update Select<DTO>()
This commit is contained in:
parent
2ab48ac786
commit
2576a7e71f
@ -1076,7 +1076,7 @@ namespace SqlSugar
|
||||
{
|
||||
var dbColumnName = firstColumn.DbColumnName;
|
||||
var AsName = item.PropertyName;
|
||||
sb.Append($"{this.SqlBuilder.GetTranslationColumnName(dbColumnName)} AS {AsName} ,");
|
||||
sb.Append($"{this.SqlBuilder.GetTranslationColumnName(dbColumnName)} AS {this.SqlBuilder.GetTranslationColumnName(AsName)} ,");
|
||||
}
|
||||
}
|
||||
selects = sb.ToString().TrimEnd(',');
|
||||
|
Loading…
Reference in New Issue
Block a user