package com.ruoyi.frequency.mallrefund.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.mallrefund.entity.MallRefund;

import java.util.List;

/**
 * 订单退款Mapper接口
 *
 * @author liwenlong
 * @date 2024-01-25
 */
public interface MallRefundMapper  extends BaseMapper<MallRefund>
{
    /**
     * 查询订单退款
     *
     * @param id 订单退款主键
     * @return 订单退款
     */
    public MallRefund selectMallRefundById(Long id);

    /**
     * 查询订单退款列表
     *
     * @param mallRefund 订单退款
     * @return 订单退款集合
     */
    public List<MallRefund> selectMallRefundList(MallRefund mallRefund);

    /**
     * 新增订单退款
     *
     * @param mallRefund 订单退款
     * @return 结果
     */
    public int insertMallRefund(MallRefund mallRefund);

    /**
     * 修改订单退款
     *
     * @param mallRefund 订单退款
     * @return 结果
     */
    public int updateMallRefund(MallRefund mallRefund);

}
