diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/delete/DynamicCommentDelCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/delete/DynamicCommentDelCmdExe.java index abd3f1a9..422b9c6d 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/delete/DynamicCommentDelCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/delete/DynamicCommentDelCmdExe.java @@ -54,7 +54,7 @@ public class DynamicCommentDelCmdExe { //评论点赞数量 - if (Objects.nonNull(comment.getRootCommentId())) { + if (Objects.isNull(comment.getRootCommentId())) { return deleteAllComment(cmd, comment); }