yanghb
2023-04-21 59f70d9b19408d36f40ee0f418bf98232c40fb33
DispatchTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/IOrderTaxiService.java
@@ -2,50 +2,7 @@
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;
}