mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Update Core
This commit is contained in:
@@ -515,6 +515,9 @@ namespace SqlSugar
|
||||
{
|
||||
var jsoinParameters = (this.JoinExpression as LambdaExpression).Parameters;
|
||||
var currentParametres = (expression as LambdaExpression).Parameters;
|
||||
if ((expression as LambdaExpression).Body.ToString() == "True") {
|
||||
return;
|
||||
}
|
||||
if (currentParametres != null && currentParametres.Count > 0)
|
||||
{
|
||||
foreach (var item in currentParametres)
|
||||
|
@@ -340,6 +340,8 @@ namespace SqlSugar
|
||||
ILambdaExpressions expressionContext = sqlBuilder.QueryBuilder.LambdaExpressions;
|
||||
expressionContext.MappingColumns = this.Context.MappingColumns;
|
||||
expressionContext.MappingTables = this.Context.MappingTables;
|
||||
if (this.Context.CurrentConnectionConfig.ConfigureExternalServices != null)
|
||||
expressionContext.SqlFuncServices = this.Context.CurrentConnectionConfig.ConfigureExternalServices.SqlFuncServices;
|
||||
expressionContext.Resolve(joinExpression, ResolveExpressType.Join);
|
||||
int i = 0;
|
||||
var joinArray = MergeJoinArray(expressionContext.Result.GetResultArray());
|
||||
|
Reference in New Issue
Block a user