修正了删除状态

This commit is contained in:
wucongxing8150 2025-08-18 09:26:42 +08:00
parent 7143789256
commit 8652bd1d7f
6 changed files with 18 additions and 0 deletions

View File

@ -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());

View File

@ -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());

View File

@ -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());

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -71,6 +71,11 @@ public class UserCommentExchangeModel {
@TableField("is_author") @TableField("is_author")
private Integer isAuthor; private Integer isAuthor;
/**
* 删除状态0: 1:
*/
private Integer deleteStatus;
/** /**
* 评论内容 * 评论内容
*/ */