|
|
@ -56,9 +56,19 @@ namespace SqlSugar |
|
|
|
if (Regex.IsMatch(result, regex)) |
|
|
|
{ |
|
|
|
var value = GetValue(result, regex); |
|
|
|
if (value is Expression) |
|
|
|
{ |
|
|
|
var p = this.Context.Parameters.First(it => it.ParameterName == Regex.Match(result, regex).Groups[1].Value); |
|
|
|
result = "WHERE " + SubTools.GetMethodValue(Context, value as Expression, ResolveExpressType.WhereMultiple); |
|
|
|
argExp = value as Expression; |
|
|
|
p.Value = argExp.ToString(); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
result = "WHERE " + value; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
var selfParameterName = Context.GetTranslationColumnName((argExp as LambdaExpression).Parameters.First().Name) + UtilConstants.Dot; |
|
|
|
if (this.Context.JoinIndex == 0) |
|
|
|