package com.stylefeng.guns.modular.CharteredCar.server; import com.baomidou.mybatisplus.service.IService; import com.stylefeng.guns.modular.CharteredCar.model.OrderCharteredCar; import com.stylefeng.guns.modular.system.util.ResultUtil; import java.util.Date; import java.util.List; import java.util.Map; public interface IOrderCharteredCarService extends IService { /** * 下单 * @param traveltime * @param carTime * @param serverCarModelId * @param modelUse * @param peopleNumber * @param contactPerson * @param contactPhone * @param placeLonLat * @param uid * @return * @throws Exception */ ResultUtil orderCharteredCar(Date travelTime, Integer carTime, Integer serverCarModelId, String modelUse, Integer peopleNumber, String contactPerson, String contactPhone, String placeLonLat, Integer uid) throws Exception; /** * 获取用户的订单列表 * @param uid * @param pageNum * @param size * @return * @throws Exception */ List> queryMyOrderList(Integer uid, Integer pageNum, Integer size) throws Exception; /** * 添加取消 * @param id * @param reason * @param remark * @param uid * @throws Exception */ ResultUtil addCancle(Integer id, String reason, String remark, Integer uid) throws Exception; }