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);
|
}
|