Skip to content

Commit

Permalink
Merge pull request #5 from liushun-ing/fix/patch-1
Browse files Browse the repository at this point in the history
fix: fix small bug
  • Loading branch information
jaronnie authored Dec 4, 2024
2 parents b93d20a + e57b878 commit 224c37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion condition/condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func buildExpr(cond *sqlbuilder.Cond, field string, operator Operator, value any
case NotEqual:
return cond.NotEqual(field, value)
case GreaterThan:
return cond.NotEqual(field, value)
return cond.GreaterThan(field, value)
case LessThan:
return cond.LessThan(field, value)
case GreaterEqualThan:
Expand Down

0 comments on commit 224c37b

Please sign in to comment.