package com.yonge.cooleshow.admin.dao;

import com.yonge.cooleshow.admin.dto.OmsOrderDeliveryParam;
import com.yonge.cooleshow.admin.dto.OmsOrderDetail;
import com.yonge.cooleshow.admin.dto.OmsOrderQueryParam;
import com.yonge.cooleshow.admin.dto.search.UserStatisticalSearch;
import com.yonge.cooleshow.mbg.model.OmsOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 订单查询自定义Dao
 * Created by macro on 2018/10/12.
 */
public interface OmsOrderDao {
    /**
     * 条件查询订单
     */
    List<OmsOrder> getList(@Param("queryParam") OmsOrderQueryParam queryParam);

    /**
     * 批量发货
     */
    int delivery(@Param("list") List<OmsOrderDeliveryParam> deliveryParamList);

    /**
     * 获取订单详情
     */
    OmsOrderDetail getDetail(@Param("id") Long id);



    List<Map<String,Object>> getUserOrderInfoList(Map<String, Object> param);
}
