IOrderRefundService.java 1.32 KB
Newer Older
张新旗 committed
1 2 3
package com.ruoyi.system.service;

import java.util.List;
张新旗 committed
4 5

import com.ruoyi.common.core.domain.AjaxResult;
张新旗 committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
import com.ruoyi.system.domain.OrderRefund;

/**
 * 订单退款Service接口
 * 
 * @author ruoyi
 * @date 2022-04-28
 */
public interface IOrderRefundService 
{
    /**
     * 查询订单退款
     * 
     * @param id 订单退款主键
     * @return 订单退款
     */
    public OrderRefund selectOrderRefundById(String id);

    /**
     * 查询订单退款列表
     * 
     * @param orderRefund 订单退款
     * @return 订单退款集合
     */
    public List<OrderRefund> selectOrderRefundList(OrderRefund orderRefund);

    /**
     * 新增订单退款
     * 
     * @param orderRefund 订单退款
     * @return 结果
     */
张新旗 committed
38
    public AjaxResult insertOrderRefund(OrderRefund orderRefund);
张新旗 committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

    /**
     * 修改订单退款
     * 
     * @param orderRefund 订单退款
     * @return 结果
     */
    public int updateOrderRefund(OrderRefund orderRefund);

    /**
     * 批量删除订单退款
     * 
     * @param ids 需要删除的订单退款主键集合
     * @return 结果
     */
    public int deleteOrderRefundByIds(String[] ids);

    /**
     * 删除订单退款信息
     * 
     * @param id 订单退款主键
     * @return 结果
     */
    public int deleteOrderRefundById(String id);
}