mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update exp to sql (it.xx|yy==0x1)
This commit is contained in:
parent
6b4ea194b6
commit
60e630c4f2
@ -84,6 +84,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
this.Context.Result.AppendFormat(" {0} ", ExpressionTool.GetOperator(expression.NodeType));
|
this.Context.Result.AppendFormat(" {0} ", ExpressionTool.GetOperator(expression.NodeType));
|
||||||
}
|
}
|
||||||
|
else if (leftExpression is UnaryExpression && ExpressionTool.RemoveConvert(leftExpression) is BinaryExpression && !this.Context.Result.Contains(ExpressionConst.ExpressionReplace))
|
||||||
|
{
|
||||||
|
this.Context.Result.AppendFormat(" {0} ", ExpressionTool.GetOperator(expression.NodeType));
|
||||||
|
}
|
||||||
base.IsLeft = false;
|
base.IsLeft = false;
|
||||||
base.Expression = rightExpression;
|
base.Expression = rightExpression;
|
||||||
base.Start();
|
base.Start();
|
||||||
|
Loading…
Reference in New Issue
Block a user