package com.fs.live.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fs.live.domain.LiveGoodsOrder;

/**
 * 订单Service接口
 * 
 * @author fs
 * @date 2025-01-17
 */
public interface ILiveGoodsOrderService extends IService<LiveGoodsOrder>
{
    /**
     * 查询订单
     * 
     * @param orderId 订单主键
     * @return 订单
     */
    public LiveGoodsOrder selectLiveGoodsOrderByOrderId(Long orderId);

    /**
     * 查询订单列表
     * 
     * @param liveGoodsOrder 订单
     * @return 订单集合
     */
    public List<LiveGoodsOrder> selectLiveGoodsOrderList(LiveGoodsOrder liveGoodsOrder);

    /**
     * 新增订单
     * 
     * @param liveGoodsOrder 订单
     * @return 结果
     */
    public int insertLiveGoodsOrder(LiveGoodsOrder liveGoodsOrder);

    /**
     * 修改订单
     * 
     * @param liveGoodsOrder 订单
     * @return 结果
     */
    public int updateLiveGoodsOrder(LiveGoodsOrder liveGoodsOrder);

    /**
     * 批量删除订单
     * 
     * @param orderIds 需要删除的订单主键集合
     * @return 结果
     */
    public int deleteLiveGoodsOrderByOrderIds(Long[] orderIds);

    /**
     * 删除订单信息
     * 
     * @param orderId 订单主键
     * @return 结果
     */
    public int deleteLiveGoodsOrderByOrderId(Long orderId);
}
