package com.stylefeng.guns.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.system.model.TaxiCard;
|
import com.stylefeng.guns.modular.system.util.ResultUtil;
|
import com.stylefeng.guns.modular.system.warpper.TaxiCardWapper;
|
|
import java.util.List;
|
|
public interface ITaxiCardService extends IService<TaxiCard> {
|
|
/**
|
* 获取打车卡列表
|
* @param type
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil<List<TaxiCardWapper>> getTaxiCardList(Integer uid, Integer type, String lon, String lat) throws Exception;
|
|
|
/**
|
* 获取打车卡详情
|
* @param id
|
* @return
|
* @throws Exception
|
*/
|
TaxiCardWapper getTaxiCardInfo(Integer id) throws Exception;
|
|
|
/**
|
* 支付打车卡
|
* @param uid
|
* @param id
|
* @param payType
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil payTaxiCard(Integer uid, Integer id, Integer payType, Integer type) throws Exception;
|
|
|
/**
|
* 打车卡支付回调处理
|
* @param id
|
* @throws Exception
|
*/
|
void payTaxiCardPaymentSpread(Integer id, String order_id) throws Exception;
|
|
|
/**
|
* 获取我的卡列表
|
* @param orderType
|
* @return
|
* @throws Exception
|
*/
|
List<TaxiCardWapper> getMyTaxiCardList(Integer uid, Integer orderType) throws Exception;
|
|
|
/**
|
* 获取我的打车卡详情
|
* @param id
|
* @return
|
* @throws Exception
|
*/
|
TaxiCardWapper getMyTaxiCardInfo(Integer id) throws Exception;
|
}
|