package com.stylefeng.guns.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.system.model.OrderTaxi;
|
import com.stylefeng.guns.modular.system.util.ResultUtil;
|
import com.stylefeng.guns.modular.system.warpper.BaseWarpper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface IOrderTaxiService extends IService<OrderTaxi> {
|
/**
|
* 获取订单列表
|
* @param search
|
* @param orderSource
|
* @param state
|
* @param uid
|
* @return
|
* @throws Exception
|
*/
|
List<Map<String, Object>> queryOrderList(String search, String orderSource, String state, Integer pageNum, Integer size, Integer uid) throws Exception;
|
|
|
/**
|
* 获取订单详情
|
* @param orderId
|
* @return
|
* @throws Exception
|
*/
|
Map<String, Object> queryOrderInfo(Integer orderId) throws Exception;
|
|
|
/**
|
* 取消订单
|
* @param orderId
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil cancelOrder(Integer orderId) throws Exception;
|
|
|
|
/**
|
* 出租车下单操作
|
* @param orderTaxi
|
* @param uid
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil<BaseWarpper> taxiOrder(OrderTaxi orderTaxi, Integer uid) throws Exception;
|
}
|