package cn.iocoder.yudao.module.jx.mapper;

import cn.iocoder.yudao.module.jx.domain.DriveSchoolCourseOrder;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 驾照报名订单Mapper接口
 *
 * @author ruoyi
 * @date 2024-03-25
 */
@Mapper
public interface DriveSchoolCourseOrderMapper
{
    /**
     * 查询驾照报名订单
     *
     * @param id 驾照报名订单主键
     * @return 驾照报名订单
     */
    public DriveSchoolCourseOrder selectDriveSchoolCourseOrderById(Long id);

    /**
     * 查询驾照报名订单列表
     *
     * @param driveSchoolCourseOrder 驾照报名订单
     * @return 驾照报名订单集合
     */
    public IPage<DriveSchoolCourseOrder> selectDriveSchoolCourseOrderList(@Param("entity") DriveSchoolCourseOrder driveSchoolCourseOrder, Page<DriveSchoolCourseOrder> page);

    /**
     * 新增驾照报名订单
     *
     * @param driveSchoolCourseOrder 驾照报名订单
     * @return 结果
     */
    public int insertDriveSchoolCourseOrder(DriveSchoolCourseOrder driveSchoolCourseOrder);

    /**
     * 修改驾照报名订单
     *
     * @param driveSchoolCourseOrder 驾照报名订单
     * @return 结果
     */
    public int updateDriveSchoolCourseOrder(DriveSchoolCourseOrder driveSchoolCourseOrder);

    /**
     * 删除驾照报名订单
     *
     * @param id 驾照报名订单主键
     * @return 结果
     */
    public int deleteDriveSchoolCourseOrderById(Long id);

    /**
     * 批量删除驾照报名订单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDriveSchoolCourseOrderByIds(Long[] ids);
}
