李昊 4 éve
szülő
commit
283f9136ae

+ 1 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Reply/ReplyService.Praise.cs

@@ -272,7 +272,7 @@ namespace GxPress.Service.Implement.Reply
                             INNER JOIN
                         tede_middle e ON e.MiddleId = b.Id
                     WHERE
-                        a.TypeValue = 4 AND e.IsDelete = 0
+                        a.TypeValue in({AllTypeConst.Note.GetHashCode()},{AllTypeConst.TopicNote.GetHashCode()}) AND e.IsDelete = 0
                             AND a.CommentId = 0
                             AND e.UserId = b.UserId
                             AND a.AnalyzeType = 1