package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.dto.req.OrderReq;
import com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo;
import com.yonge.cooleshow.biz.dal.dto.search.MemberPriceSettingsSearch;
import com.yonge.cooleshow.biz.dal.entity.MemberPriceSettings;
import com.yonge.cooleshow.biz.dal.vo.UserOrderDetailVo;
import com.yonge.cooleshow.biz.dal.vo.res.OrderCreateRes;
import com.yonge.cooleshow.common.entity.HttpResponseResult;

import java.util.List;

/**
 *  服务类
 * @author liweifan
 * @date 2022-04-25
 */
public interface MemberPriceSettingsService extends IService<MemberPriceSettings>  {
    /**
     * 查询详情
     * @author liweifan
     * @date 2022-04-25
     */
    MemberPriceSettingsVo detail(Long id);
    /**
     * 分页查询
     * @author liweifan
     * @date 2022-04-25
     */
    IPage<MemberPriceSettingsVo> selectPage(IPage<MemberPriceSettingsVo> page, MemberPriceSettingsSearch query);
    /***
     * 查询列表
     * @author liweifan
     * @updateTime 2022/4/25 14:55
     * @return: java.util.List<com.yonge.cooleshow.biz.dal.vo.MemberPriceSettingsVo>
     */
    List<MemberPriceSettingsVo> selectList(MemberPriceSettingsSearch query);
    /***
     * 订单下单前操作
     * @author liweifan
     * @param: orderReq
     * @updateTime 2022/3/31 15:47
     * @return: com.yonge.cooleshow.common.entity.HttpResponseResult<java.lang.Boolean>
     */
    HttpResponseResult<OrderCreateRes> orderCreate(OrderReq.OrderReqInfo orderReqInfo);
    /***
     * 订单下单后操作
     * @author liweifan
     * @param: orderVo
     * @updateTime 2022/3/31 17:24
     */
    void orderSuccess(UserOrderDetailVo orderDetailVo);
}