Browse Source

Update exp to sql

pull/8/head
sunkaixuna 3 years ago
parent
commit
a37098be14
  1. 2
      Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/ExpressionTool.cs

2
Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/ExpressionTool.cs

@ -13,6 +13,7 @@ namespace SqlSugar
switch (expressiontype)
{
case ExpressionType.And:
return "&";
case ExpressionType.AndAlso:
return "AND";
case ExpressionType.Equal:
@ -28,6 +29,7 @@ namespace SqlSugar
case ExpressionType.NotEqual:
return "<>";
case ExpressionType.Or:
return "|";
case ExpressionType.OrElse:
return "OR";
case ExpressionType.Add:

Loading…
Cancel
Save