package com.ruoyi.frequency.orderpricerecord.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.orderpricerecord.entity.OrderPriceRecord;

/**
 * 订单价格明细记录Mapper接口
 * 
 * @author liwenlong
 * @date 2024-01-24
 */
public interface OrderPriceRecordMapper  extends BaseMapper<OrderPriceRecord>
{
    /**
     * 查询订单价格明细记录
     * 
     * @param id 订单价格明细记录主键
     * @return 订单价格明细记录
     */
    public OrderPriceRecord selectOrderPriceRecordById(Long id);

    /**
     * 查询订单价格明细记录列表
     * 
     * @param orderPriceRecord 订单价格明细记录
     * @return 订单价格明细记录集合
     */
    public List<OrderPriceRecord> selectOrderPriceRecordList(OrderPriceRecord orderPriceRecord);

    /**
     * 新增订单价格明细记录
     * 
     * @param orderPriceRecord 订单价格明细记录
     * @return 结果
     */
    public int insertOrderPriceRecord(OrderPriceRecord orderPriceRecord);

    /**
     * 修改订单价格明细记录
     * 
     * @param orderPriceRecord 订单价格明细记录
     * @return 结果
     */
    public int updateOrderPriceRecord(OrderPriceRecord orderPriceRecord);

}
