package com.library.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * Created by Administrator on 2018\11\22 0022.
 */
public interface AutomaticQueueMapper {

    /**
     * 得到最早的一条数据
     *
     * @return
     */
    public Map<String, Object> selectEarlyOne();

    /**
     * 根据订单编号获取到订单信息
     * @param order_number
     * @return
     */
    public Map<String, Object> selectOrderByNumber(@Param("order_number") String order_number);


}
