评论状态
This commit is contained in:
parent
3eb7107361
commit
eaaeb8c28b
@ -49,6 +49,11 @@ public class CaseExchangeModel {
|
|||||||
@TableField("is_selected")
|
@TableField("is_selected")
|
||||||
private Integer isSelected;
|
private Integer isSelected;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态(0:否 1:是)
|
||||||
|
*/
|
||||||
|
private Integer auditStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 阅读量
|
* 阅读量
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user