package com.ruoyi.frequency.mallrefundordergoods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.frequency.mallrefundordergoods.entity.MallRefundOrderGoods;

import java.util.List;

/**
 * 订单退款商品关联Service接口
 *
 * @author liwenlong
 * @date 2024-01-25
 */
public interface MallRefundOrderGoodsService extends IService<MallRefundOrderGoods>
{
    /**
     * 查询订单退款商品关联
     *
     * @param id 订单退款商品关联主键
     * @return 订单退款商品关联
     */
    public MallRefundOrderGoods selectMallRefundOrderGoodsById(Long id);

    /**
     * 查询订单退款商品关联列表
     *
     * @param mallRefundOrderGoods 订单退款商品关联
     * @return 订单退款商品关联集合
     */
    public List<MallRefundOrderGoods> selectMallRefundOrderGoodsList(MallRefundOrderGoods mallRefundOrderGoods);

    /**
     * 新增订单退款商品关联
     *
     * @param mallRefundOrderGoods 订单退款商品关联
     * @return 结果
     */
    public int insertMallRefundOrderGoods(MallRefundOrderGoods mallRefundOrderGoods);

    /**
     * 修改订单退款商品关联
     *
     * @param mallRefundOrderGoods 订单退款商品关联
     * @return 结果
     */
    public int updateMallRefundOrderGoods(MallRefundOrderGoods mallRefundOrderGoods);

    /**
     * 批量删除订单退款商品关联
     *
     * @param ids 需要删除的订单退款商品关联主键集合
     * @return 结果
     */
    public int deleteMallRefundOrderGoodsByIds(Long[] ids,Integer delFlag);

}
