mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 04:59:34 +08:00
Update exp to sql
This commit is contained in:
parent
5849c08526
commit
a86e8948aa
@ -482,7 +482,7 @@ namespace SqlSugar
|
||||
}
|
||||
value = result;
|
||||
}
|
||||
else if (name.IsIn("Contains", "StartsWith", "EndsWith") &&item==args.Last()&& ExpressionTool.IsSqlParameterDbType(this.Context, args.First()))
|
||||
else if (!(item is ParameterExpression)&& name.IsIn("Contains", "StartsWith", "EndsWith") &&item==args.Last()&& ExpressionTool.IsSqlParameterDbType(this.Context, args.First()))
|
||||
{
|
||||
var myvalue = ExpressionTool.DynamicInvoke(args.Last());
|
||||
var parametre = ExpressionTool.GetParameterBySqlParameterDbType(this.Context.ParameterIndex,myvalue, this.Context, args.First());
|
||||
|
Loading…
Reference in New Issue
Block a user