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);

    /**
     * 根据手机前三位获取到运营商数据
     * @param phone_three
     * @return
     */
    public Map<String, Object> selectSegment(@Param("phone_three") String phone_three);


}
