package com.sqx.modules.order.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sqx.modules.order.entity.Evaluate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EvaluateDao extends BaseMapper<Evaluate> {

    Evaluate selectScoreByShopId(Long shopId);

    IPage<Evaluate> getEvaluateList(@Param("pages") Page<Evaluate> pages, @Param("evaluate") Evaluate evaluate);
}
