package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.OrderTaxi;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
|
public interface OrderTaxiMapper extends BaseMapper<OrderTaxi> {
|
|
|
|
/**
|
* 获取订单列表
|
* @param search
|
* @param orderSource
|
* @param state
|
* @param companyId
|
* @param pageNum
|
* @param size
|
* @return
|
*/
|
List<Map<String, Object>> queryOrderList(@Param("search") String search, @Param("orderSource") List<String> orderSource,
|
@Param("state") List<String> state, @Param("companyId") Integer companyId,
|
@Param("pageNum") Integer pageNum, @Param("size") Integer size);
|
|
|
/**
|
* 获取订单详情
|
* @param orderId
|
* @return
|
*/
|
Map<String, Object> queryOrderInfo(@Param("orderId") Integer orderId);
|
|
|
/**
|
* 获取订单数据
|
* @param uid
|
* @param orderType 1=即时单,2=预约单
|
* @param state
|
* @return
|
*/
|
List<OrderTaxi> queryByState(@Param("uid") Integer uid, @Param("orderType") Integer orderType,
|
@Param("type") Integer type, @Param("state") Integer...state);
|
}
|