Skip to content

Commit

Permalink
fix: bug fix && mybatis-plus update
Browse files Browse the repository at this point in the history
  • Loading branch information
taoran1250 committed Dec 17, 2024
1 parent ec12604 commit 5f0c25f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
int result = this.getLabelKey().hashCode();
result = 31 * result + this.stringValue.hashCode();
String thisStringValue = getStringValue();
if (null == thisStringValue) {
return result;
}
result = 31 * result + thisStringValue.hashCode();
return result;
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<springfox.version>2.10.5</springfox.version>
<xstream.core.version>1.4.20</xstream.core.version>
<reflections.version>0.9.12</reflections.version>
<mybatis-plus.boot.starter.version>3.4.1</mybatis-plus.boot.starter.version>
<mybatis-plus.boot.starter.version>3.5.7</mybatis-plus.boot.starter.version>
<mysql.connector.version>8.0.28</mysql.connector.version>
<druid.version>1.1.22</druid.version>
<javassist.version>3.27.0-GA</javassist.version>
Expand Down

0 comments on commit 5f0c25f

Please sign in to comment.