cloudroam
2025-04-02 9b8db73dbec26af11e80ee36926ac6d039b921ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.mzl.flower.mapper.comment;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mzl.flower.dto.request.comment.QueryFlowerCommentDTO;
import com.mzl.flower.dto.response.comment.FlowerCommentVO;
import com.mzl.flower.entity.FlowerCommentDO;
import org.apache.ibatis.annotations.Param;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * <p>
 * 商品评论表 Mapper 接口
 * </p>
 *
 * @author @TaoJie
 * @since 2024-09-29
 */
public interface FlowerCommentMapperCustom extends BaseMapper<FlowerCommentDO> {
 
    List<FlowerCommentVO> getPage(Page page,@Param("param") QueryFlowerCommentDTO dto);
 
    List<FlowerCommentVO> getList(@Param("param") QueryFlowerCommentDTO dto);
 
    BigDecimal getSupplierAvgScore(@Param("supplierId") Long supplierId);
}