评论状态

This commit is contained in:
wucongxing8150 2025-08-14 08:41:41 +08:00
parent 3eb7107361
commit eaaeb8c28b
4 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,11 @@ public class CaseExchangeModel {
@TableField("is_selected") @TableField("is_selected")
private Integer isSelected; private Integer isSelected;
/**
* 审核状态0: 1:
*/
private Integer auditStatus;
/** /**
* 阅读量 * 阅读量
*/ */

View File

@ -29,6 +29,7 @@
LEFT JOIN user b ON a.user_id = b.user_id LEFT JOIN user b ON a.user_id = b.user_id
WHERE a.status = 1 WHERE a.status = 1
AND a.article_id = #{articleId} AND a.article_id = #{articleId}
AND a.delete_status = 0
<choose> <choose>
<when test="rootId != null and rootId != ''"> <when test="rootId != null and rootId != ''">
AND a.root_id = #{rootId} AND a.root_id = #{rootId}

View File

@ -11,6 +11,7 @@
LEFT JOIN user b ON a.user_id = b.user_id LEFT JOIN user b ON a.user_id = b.user_id
WHERE a.status = 1 WHERE a.status = 1
AND a.video_id = #{videoId} AND a.video_id = #{videoId}
AND a.delete_status = 0
<choose> <choose>
<when test="rootId != null and rootId != ''"> <when test="rootId != null and rootId != ''">
AND a.root_id = #{rootId} AND a.root_id = #{rootId}

View File

@ -12,6 +12,7 @@
LEFT JOIN user b ON a.user_id = b.user_id LEFT JOIN user b ON a.user_id = b.user_id
WHERE a.status = 1 WHERE a.status = 1
AND a.exchange_id = #{exchangeId} AND a.exchange_id = #{exchangeId}
AND a.delete_status = 0
<choose> <choose>
<when test="rootId != null and rootId != ''"> <when test="rootId != null and rootId != ''">
AND a.root_id = #{rootId} AND a.root_id = #{rootId}