diff --git a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberExpressionResolve.cs b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberExpressionResolve.cs index de529ae8d..96d3c0b95 100644 --- a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberExpressionResolve.cs +++ b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberExpressionResolve.cs @@ -130,10 +130,6 @@ namespace SqlSugar else { fieldName = GetName(parameter, expression, isLeft, isSingle); - if (expression.Type == UtilConstants.BoolType && baseParameter.OperatorValue.IsNullOrEmpty()) - { - fieldName = this.Context.DbMehtods.EqualTrue(fieldName); - } AppendMember(parameter, isLeft, fieldName); } }