Browse Source

Synchronization code

pull/33/head
sunkaixuan 2 years ago
parent
commit
2efe10a9ae
  1. 9
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BaseResolve_Item.cs

9
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BaseResolve_Item.cs

@ -48,7 +48,14 @@ namespace SqlSugar
private void ResloveBoolMethod(ExpressionParameter parameter, Expression item, string asName)
{
this.Expression = item;
this.Start();
if (ExpressionTool.GetMethodName(item) == "Any")
{
parameter.CommonTempData = GetNewExpressionValue(item);
}
else
{
this.Start();
}
var sql = this.Context.DbMehtods.IIF(new MethodCallExpressionModel()
{
Args = new List<MethodCallExpressionArgs>() {

Loading…
Cancel
Save