package com.ruoyi.frequency.mallrefundordergoods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.mallrefundordergoods.entity.MallRefundOrderGoods;

import java.util.List;

/**
 * 订单退款商品关联Mapper接口
 *
 * @author liwenlong
 * @date 2024-01-25
 */
public interface MallRefundOrderGoodsMapper  extends BaseMapper<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);

}
