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

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

import java.util.List;
import java.util.Map;

/**
 * 驾校分账Service接口
 *
 * @author ruoyi
 * @date 2024-05-28
 */
public interface IDriveSchoolSeparateService
{
    /**
     * 查询驾校分账
     *
     * @param id 驾校分账主键
     * @return 驾校分账
     */
    public DriveSchoolSeparate selectDriveSchoolSeparateById(Long id);

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

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

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

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

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