mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 20:27:56 +08:00
Update exp to sql
This commit is contained in:
parent
965d2d89bd
commit
54afd0864d
@ -21,6 +21,10 @@ namespace SqlSugar
|
||||
{
|
||||
strings.Add(memberExpression.Member.Name);
|
||||
}
|
||||
else if (expression is ConstantExpression)
|
||||
{
|
||||
strings.Add((expression as ConstantExpression).Value+"");
|
||||
}
|
||||
}
|
||||
return strings;
|
||||
}
|
||||
|
@ -399,7 +399,7 @@ namespace SqlSugar
|
||||
else if (name == "FullTextContains" && item is NewArrayExpression)
|
||||
{
|
||||
var array = ExpressionTool.GetNewArrayMembers(item as NewArrayExpression);
|
||||
parameter.CommonTempData = array;
|
||||
parameter.CommonTempData = array.Select(it=>this.Context.GetTranslationColumnName(it)).ToList();
|
||||
isRemoveParamter = true;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user