package com.yeshi.buwan.service.inter.vip;
|
|
import com.yeshi.buwan.domain.vip.VIPPrice;
|
import com.yeshi.buwan.domain.vip.VIPPriceType;
|
import com.yeshi.buwan.exception.vip.VIPException;
|
|
import java.util.List;
|
|
public interface VIPPriceService {
|
|
/**
|
* 添加套餐
|
*
|
* @param price
|
*/
|
public void addPrice(VIPPrice price) throws VIPException;
|
|
|
/**
|
* 拉取列表
|
*
|
* @return
|
*/
|
public List<VIPPrice> listValidPrice();
|
|
|
/**
|
* 主键查询
|
*
|
* @param id
|
* @return
|
*/
|
public VIPPrice selectByPrimaryKey(String id);
|
|
|
/**
|
* 根据类型查询
|
*
|
* @param type
|
* @return
|
*/
|
public VIPPrice selectByType(VIPPriceType type);
|
|
public VIPPrice selectByIOSProductId(String productId);
|
|
|
}
|