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

import cn.iocoder.yudao.module.jx.domain.DriveSchoolUpkeep;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * 车辆保养记录Service接口
 *
 * @author ruoyi
 * @date 2024-04-01
 */
public interface IDriveSchoolUpkeepService
{
    /**
     * 查询车辆保养记录
     *
     * @param id 车辆保养记录主键
     * @return 车辆保养记录
     */
    public DriveSchoolUpkeep selectDriveSchoolUpkeepById(Long id);

    /**
     * 查询车辆保养记录列表
     *
     * @param driveSchoolUpkeep 车辆保养记录
     * @return 车辆保养记录集合
     */
    public IPage<DriveSchoolUpkeep> selectDriveSchoolUpkeepList(DriveSchoolUpkeep driveSchoolUpkeep, Page<DriveSchoolUpkeep> page);

    /**
     * 新增车辆保养记录
     *
     * @param driveSchoolUpkeep 车辆保养记录
     * @return 结果
     */
    public int insertDriveSchoolUpkeep(DriveSchoolUpkeep driveSchoolUpkeep);

    /**
     * 修改车辆保养记录
     *
     * @param driveSchoolUpkeep 车辆保养记录
     * @return 结果
     */
    public int updateDriveSchoolUpkeep(DriveSchoolUpkeep driveSchoolUpkeep);

    /**
     * 批量删除车辆保养记录
     *
     * @param ids 需要删除的车辆保养记录主键集合
     * @return 结果
     */
    public int deleteDriveSchoolUpkeepByIds(Long[] ids);

    /**
     * 删除车辆保养记录信息
     *
     * @param id 车辆保养记录主键
     * @return 结果
     */
    public int deleteDriveSchoolUpkeepById(Long id);
}
