Skip to content

Commit

Permalink
修复MySqlUpdateStatement.equals判断错误问题
Browse files Browse the repository at this point in the history
修复因为对于hint的判断逻辑有误,导致equals返回了错误的值
  • Loading branch information
zs808 authored and wenshao committed Apr 2, 2023
1 parent 5f491e8 commit 280f399
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public boolean equals(Object o) {
if (queryOnPk != that.queryOnPk) {
return false;
}
if (this.hints != null ? hints.equals(that.hints) : that.hints != null) {
if (this.hints != null ? !hints.equals(that.hints) : that.hints != null) {
return false;
}
if (limit != null ? !limit.equals(that.limit) : that.limit != null) {
Expand Down

0 comments on commit 280f399

Please sign in to comment.