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


import cn.iocoder.yudao.module.jx.domain.DriveSchoolSeparate;
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-05-28
 */
@Mapper
public interface DriveSchoolSeparateMapper
{
    /**
     * 查询驾校分账
     *
     * @param id 驾校分账主键
     * @return 驾校分账
     */
    public DriveSchoolSeparate selectDriveSchoolSeparateById(Long id);

    /**
     * 查询驾校分账列表
     *
     * @param driveSchoolSeparate 驾校分账
     * @return 驾校分账集合
     */
    public IPage<DriveSchoolSeparate> selectDriveSchoolSeparateList(@Param("entity") DriveSchoolSeparate driveSchoolSeparate, Page<DriveSchoolSeparate> page);

    /**
     * 新增驾校分账
     *
     * @param driveSchoolSeparate 驾校分账
     * @return 结果
     */
    public int insertDriveSchoolSeparate(DriveSchoolSeparate driveSchoolSeparate);

    /**
     * 修改驾校分账
     *
     * @param driveSchoolSeparate 驾校分账
     * @return 结果
     */
    public int updateDriveSchoolSeparate(DriveSchoolSeparate driveSchoolSeparate);

    /**
     * 删除驾校分账
     *
     * @param id 驾校分账主键
     * @return 结果
     */
    public int deleteDriveSchoolSeparateById(Long id);

    /**
     * 批量删除驾校分账
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDriveSchoolSeparateByIds(Long[] ids);
}
