package com.ruoyi.frequency.orderreceiving.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.orderreceiving.entity.OrderReceiving;

import java.util.List;

/**
 * 现师接单Mapper接口
 * 
 * @author zj
 * @date 2023-10-13
 */
public interface OrderReceivingMapper  extends BaseMapper<OrderReceiving>
{
    /**
     * 查询现师接单
     * 
     * @param id 现师接单主键
     * @return 现师接单
     */
    public OrderReceiving selectOrderReceivingById(Long id);

    /**
     * 查询现师接单列表
     * 
     * @param orderReceiving 现师接单
     * @return 现师接单集合
     */
    public List<OrderReceiving> selectOrderReceivingList(OrderReceiving orderReceiving);

    /**
     * 新增现师接单
     * 
     * @param orderReceiving 现师接单
     * @return 结果
     */
    public int insertOrderReceiving(OrderReceiving orderReceiving);

    /**
     * 修改现师接单
     * 
     * @param orderReceiving 现师接单
     * @return 结果
     */
    public int updateOrderReceiving(OrderReceiving orderReceiving);

    /**
     * 删除现师接单
     * 
     * @param id 现师接单主键
     * @return 结果
     */
    public int deleteOrderReceivingById(Long id);

    /**
     * 批量删除现师接单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOrderReceivingByIds(Long[] ids);
}
