mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Update Subquery.ToList
This commit is contained in:
parent
416dc1cdb9
commit
4bc0fba417
@ -140,7 +140,10 @@ namespace SqlSugar
|
|||||||
var value = GetNewExpressionValue(item);
|
var value = GetNewExpressionValue(item);
|
||||||
if (this.Context.SugarContext.QueryBuilder.SubToListParameters == null)
|
if (this.Context.SugarContext.QueryBuilder.SubToListParameters == null)
|
||||||
this.Context.SugarContext.QueryBuilder.SubToListParameters = new Dictionary<string, object>();
|
this.Context.SugarContext.QueryBuilder.SubToListParameters = new Dictionary<string, object>();
|
||||||
this.Context.SugarContext.QueryBuilder.SubToListParameters.Add(asName, value);
|
if (!this.Context.SugarContext.QueryBuilder.SubToListParameters.ContainsKey(asName))
|
||||||
|
{
|
||||||
|
this.Context.SugarContext.QueryBuilder.SubToListParameters.Add(asName, value);
|
||||||
|
}
|
||||||
//throw new Exception("子查询ToList开发中..");
|
//throw new Exception("子查询ToList开发中..");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user