mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update Join bug
This commit is contained in:
@@ -149,6 +149,10 @@ namespace OrmTest
|
|||||||
it.CreateTime.Second,
|
it.CreateTime.Second,
|
||||||
it.CreateTime.Date
|
it.CreateTime.Date
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
var test15 = db.Queryable<Order, Order>((o, i) => new JoinQueryInfos(
|
||||||
|
JoinType.Left, o.Name == SqlFunc.ToString(SqlFunc.MergeString(",", i.Name, ","))
|
||||||
|
))
|
||||||
|
.Select<ViewOrder>().ToList();
|
||||||
Console.WriteLine("#### Examples End ####");
|
Console.WriteLine("#### Examples End ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -390,6 +390,7 @@ namespace SqlSugar
|
|||||||
ILambdaExpressions expressionContext = sqlBuilder.QueryBuilder.LambdaExpressions;
|
ILambdaExpressions expressionContext = sqlBuilder.QueryBuilder.LambdaExpressions;
|
||||||
expressionContext.MappingColumns = this.MappingColumns;
|
expressionContext.MappingColumns = this.MappingColumns;
|
||||||
expressionContext.MappingTables = this.MappingTables;
|
expressionContext.MappingTables = this.MappingTables;
|
||||||
|
expressionContext.IsSingle = false;
|
||||||
if (this.Context.CurrentConnectionConfig.MoreSettings != null)
|
if (this.Context.CurrentConnectionConfig.MoreSettings != null)
|
||||||
{
|
{
|
||||||
expressionContext.PgSqlIsAutoToLower = this.Context.CurrentConnectionConfig.MoreSettings.PgSqlIsAutoToLower;
|
expressionContext.PgSqlIsAutoToLower = this.Context.CurrentConnectionConfig.MoreSettings.PgSqlIsAutoToLower;
|
||||||
|
Reference in New Issue
Block a user