Commit c3ccd401 by 段启岩

更新问题回答量

parent 499b730d
...@@ -196,7 +196,7 @@ public class UserStatisticsListener implements DataItemChangeListener { ...@@ -196,7 +196,7 @@ public class UserStatisticsListener implements DataItemChangeListener {
// 更新问题回答量 // 更新问题回答量
QueryWrapper<QuestionReply> questionReplyQueryWrapper = new QueryWrapper<>(); QueryWrapper<QuestionReply> questionReplyQueryWrapper = new QueryWrapper<>();
questionReplyQueryWrapper.eq("user_id", operatorId); questionReplyQueryWrapper.eq("user_id", operatorId);
questionReplyQueryWrapper.in("status", List.of(0, 1)); questionReplyQueryWrapper.in("reply_status", List.of(0, 1));
updateUserStatisticValue(operatorId, "question_reply_num", questionReplyService.count(questionReplyQueryWrapper)); updateUserStatisticValue(operatorId, "question_reply_num", questionReplyService.count(questionReplyQueryWrapper));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment