Skip to content

Commit

Permalink
fix: close issue #752 that null value eq issue (#753)
Browse files Browse the repository at this point in the history
* build: upgrade to v0.20.8

* fix: close issue #752 that null value eq issue
  • Loading branch information
chivehao authored Dec 12, 2024
1 parent f2f6ab5 commit 46c5a57
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

更新日志文档,版本顺序从新到旧,最新版本在最前(上)面。

# 0.20.8

## 问题修复

- 条目收藏更新的数值转化问题 #752

# 0.20.7

## 新特性
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.20.7
version=0.20.8
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public Mono<Void> collect(SubjectCollection subjectCollection) {
applicationEventPublisher.publishEvent(event);
}))
.doOnNext(entity -> {
if (entity.getScore() != newScore) {
if (entity != null && entity.getScore() != null
&& newScore != entity.getScore()) {
SubjectCollectionScoreUpdateEvent event
= new SubjectCollectionScoreUpdateEvent(
this, entity.getSubjectId());
Expand Down

0 comments on commit 46c5a57

Please sign in to comment.