package com.nmgs.service;

import com.alibaba.fastjson.JSONObject;

import java.util.List;

public interface AppointmentInfoService {
   /**
    * 查询预约记录
    * @param id
    * @param orderId
    * @param userId
    * @param appointmentType
    * @param start
    * @param end
    * @return
    */
   public List getList(String id,String orderId, String userId,String appointmentType,String orderSope,int start,int end);

   /**
    * 获取线路信息
    * @return
    */
   public List getStaList();

   /**
    * 提交预约记录
    * @param userId
    * @param appointmentType
    * @param appointmentId
    * @param aCarNo
    * @param serviceId
    * @param operatorId
    * @param mealId
    * @param mealIdCount
    * @param dateTime
    * @return
    */
   public JSONObject commit(String userId, String appointmentType, String appointmentId, String aCarNo, String serviceId,String operatorId, String mealId,String mealIdCount,String mealTotalMoney, String dateTime);

   /**
    * 查询服务区预约信息
    * @param serviceAreaId 服务区ID
    * @param operatorId 商超ID
    * @param beginTime 开始时间
    * @param endTime 结束时间
    * @param appointmentType 预约类型(加油还是加气)
    * @param isCurrentDateAfter 是否只查询今日及以后得数据
    * @param completeStatus 核销状态
    * @return
    */
   public List getAppointListByServiceId(String serviceAreaId, String operatorId, String beginTime, String endTime, String appointmentType, String isCurrentDateAfter, String refreshDate, String completeStatus);

   /**
    * 获取餐饮预约核销二维码
    * @param openId
    * @param integrateType
    * @param appointMentId
    * @return
    */
   public String getQcodeInfoById(String openId,  String integrateType, String appointMentId);
}
