@@ -86,24 +86,25 @@ case class Neq(lhs: SqlExpr, rhs: SqlExpr, ctx: Context = null) extends Equality
86
86
def copyWithChildren (lhs : SqlExpr , rhs : SqlExpr ) = copy(lhs = lhs, rhs = rhs, ctx = null )
87
87
}
88
88
89
+ // wang Ge/Le/Gt/Lt
89
90
trait InequalityLike extends Binop
90
91
case class Ge (lhs : SqlExpr , rhs : SqlExpr , ctx : Context = null ) extends InequalityLike {
91
- val opStr = " < ="
92
+ val opStr = " > ="
92
93
def copyWithContext (c : Context ) = copy(ctx = c)
93
94
def copyWithChildren (lhs : SqlExpr , rhs : SqlExpr ) = copy(lhs = lhs, rhs = rhs, ctx = null )
94
95
}
95
96
case class Gt (lhs : SqlExpr , rhs : SqlExpr , ctx : Context = null ) extends InequalityLike {
96
- val opStr = " < "
97
+ val opStr = " > "
97
98
def copyWithContext (c : Context ) = copy(ctx = c)
98
99
def copyWithChildren (lhs : SqlExpr , rhs : SqlExpr ) = copy(lhs = lhs, rhs = rhs, ctx = null )
99
100
}
100
101
case class Le (lhs : SqlExpr , rhs : SqlExpr , ctx : Context = null ) extends InequalityLike {
101
- val opStr = " > ="
102
+ val opStr = " < ="
102
103
def copyWithContext (c : Context ) = copy(ctx = c)
103
104
def copyWithChildren (lhs : SqlExpr , rhs : SqlExpr ) = copy(lhs = lhs, rhs = rhs, ctx = null )
104
105
}
105
106
case class Lt (lhs : SqlExpr , rhs : SqlExpr , ctx : Context = null ) extends InequalityLike {
106
- val opStr = " > "
107
+ val opStr = " < "
107
108
def copyWithContext (c : Context ) = copy(ctx = c)
108
109
def copyWithChildren (lhs : SqlExpr , rhs : SqlExpr ) = copy(lhs = lhs, rhs = rhs, ctx = null )
109
110
}
0 commit comments