From 4a9de05ddd680d96c0010d31289bb36482a9c473 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 09 十月 2024 13:41:55 +0800 Subject: [PATCH] 1.商品评论-增加显示隐藏 2.商品统计-隐藏不统计 3.商品评论-增加回复 --- src/main/java/com/mzl/flower/service/comment/FlowerCommentService.java | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/mzl/flower/service/comment/FlowerCommentService.java b/src/main/java/com/mzl/flower/service/comment/FlowerCommentService.java index a159e54..7636fd0 100644 --- a/src/main/java/com/mzl/flower/service/comment/FlowerCommentService.java +++ b/src/main/java/com/mzl/flower/service/comment/FlowerCommentService.java @@ -1,10 +1,7 @@ package com.mzl.flower.service.comment; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.mzl.flower.dto.request.comment.CreateFlowerCommentBatchDTO; -import com.mzl.flower.dto.request.comment.CreateFlowerCommentDTO; -import com.mzl.flower.dto.request.comment.QueryFlowerCommentDTO; -import com.mzl.flower.dto.request.comment.UpdateFlowerCommentDTO; +import com.mzl.flower.dto.request.comment.*; import com.mzl.flower.dto.response.comment.FlowerCommentStatisVO; import com.mzl.flower.dto.response.comment.FlowerCommentVO; import com.mzl.flower.entity.FlowerCommentDO; @@ -53,4 +50,13 @@ boolean createFlowerCommentBatch(CreateFlowerCommentBatchDTO dto); FlowerCommentStatisVO getSupplierStatis(Long id); + + /** + * 评论的显示隐藏 + * @param dto + * @return + */ + boolean updateShowFlowerComment(ShowFlowerCommentDTO dto); + + boolean updateReplayFlowerComment(ReplayFlowerCommentDTO dto); } -- Gitblit v1.9.3