package com.stylefeng.guns.modular.system.service; import com.baomidou.mybatisplus.service.IService; import com.stylefeng.guns.modular.system.model.OrderEvaluate; import com.stylefeng.guns.modular.system.util.ResultUtil; import java.util.List; import java.util.Map; public interface IOrderEvaluateService extends IService { /** * 添加评价数据 * @param orderId * @param orderType * @param fraction * @param content * @throws Exception */ ResultUtil saveData(Integer orderId, Integer orderType, Integer fraction, String content) throws Exception; /** * 获取司机历史评价列表 * @param driverId * @return * @throws Exception */ List> queryOrderEvaluate(Integer driverId, Integer pageNum, Integer size) throws Exception; }