修正了删除状态
This commit is contained in:
parent
7143789256
commit
8652bd1d7f
@ -374,6 +374,7 @@ public class CaseClinicalArticleController {
|
|||||||
// 获取全部评论数
|
// 获取全部评论数
|
||||||
LambdaQueryWrapper<UserCommentClinicalArticleModel> aQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<UserCommentClinicalArticleModel> aQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
aQueryWrapper.eq(UserCommentClinicalArticleModel::getArticleId, request.getArticleId());
|
aQueryWrapper.eq(UserCommentClinicalArticleModel::getArticleId, request.getArticleId());
|
||||||
|
aQueryWrapper.eq(UserCommentClinicalArticleModel::getDeleteStatus, 0);
|
||||||
Long total = userCommentClinicalArticleDao.selectCount(aQueryWrapper);
|
Long total = userCommentClinicalArticleDao.selectCount(aQueryWrapper);
|
||||||
|
|
||||||
resultMap.put("page", resultPage.getCurrent());
|
resultMap.put("page", resultPage.getCurrent());
|
||||||
|
|||||||
@ -364,6 +364,7 @@ public class CaseClinicalVideoController {
|
|||||||
// 获取全部评论数
|
// 获取全部评论数
|
||||||
LambdaQueryWrapper<UserCommentClinicalVideoModel> aQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<UserCommentClinicalVideoModel> aQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
aQueryWrapper.eq(UserCommentClinicalVideoModel::getVideoId, request.getVideoId());
|
aQueryWrapper.eq(UserCommentClinicalVideoModel::getVideoId, request.getVideoId());
|
||||||
|
aQueryWrapper.eq(UserCommentClinicalVideoModel::getDeleteStatus, 0);
|
||||||
Long total = userCommentClinicalVideoDao.selectCount(aQueryWrapper);
|
Long total = userCommentClinicalVideoDao.selectCount(aQueryWrapper);
|
||||||
|
|
||||||
resultMap.put("page", resultPage.getCurrent());
|
resultMap.put("page", resultPage.getCurrent());
|
||||||
|
|||||||
@ -666,6 +666,7 @@ public class CaseExchangeController {
|
|||||||
// 获取全部评论数
|
// 获取全部评论数
|
||||||
LambdaQueryWrapper<UserCommentExchangeModel> aQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<UserCommentExchangeModel> aQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
aQueryWrapper.eq(UserCommentExchangeModel::getExchangeId, request.getExchangeId());
|
aQueryWrapper.eq(UserCommentExchangeModel::getExchangeId, request.getExchangeId());
|
||||||
|
aQueryWrapper.eq(UserCommentExchangeModel::getDeleteStatus, 0);
|
||||||
Long total = userCommentExchangeDao.selectCount(aQueryWrapper);
|
Long total = userCommentExchangeDao.selectCount(aQueryWrapper);
|
||||||
|
|
||||||
resultMap.put("page", resultPage.getCurrent());
|
resultMap.put("page", resultPage.getCurrent());
|
||||||
|
|||||||
@ -45,6 +45,11 @@ public class UserCommentClinicalArticleModel {
|
|||||||
@TableField("status")
|
@TableField("status")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除状态(0:否 1:是)
|
||||||
|
*/
|
||||||
|
private Integer deleteStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否存在敏感词(0:否 1:是)
|
* 是否存在敏感词(0:否 1:是)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -51,6 +51,11 @@ public class UserCommentClinicalVideoModel {
|
|||||||
@TableField("is_sensitive")
|
@TableField("is_sensitive")
|
||||||
private Integer isSensitive;
|
private Integer isSensitive;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除状态(0:否 1:是)
|
||||||
|
*/
|
||||||
|
private Integer deleteStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否置顶(0:否 1:是)
|
* 是否置顶(0:否 1:是)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -71,6 +71,11 @@ public class UserCommentExchangeModel {
|
|||||||
@TableField("is_author")
|
@TableField("is_author")
|
||||||
private Integer isAuthor;
|
private Integer isAuthor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除状态(0:否 1:是)
|
||||||
|
*/
|
||||||
|
private Integer deleteStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 评论内容
|
* 评论内容
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user