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


import cn.iocoder.yudao.module.jx.domain.DriveSchoolTeachingJournal;
import cn.iocoder.yudao.module.rescue.domain.RescueCarInfo;
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-19
 */
@Mapper
public interface DriveSchoolTeachingJournalMapper
{
    /**
     * 查询教学日志
     *
     * @param id 教学日志主键
     * @return 教学日志
     */
    public DriveSchoolTeachingJournal selectDriveSchoolTeachingJournalById(Long id);

    /**
     * 查询教学日志列表
     *
     * @param driveSchoolTeachingJournal 教学日志
     * @return 教学日志集合
     */
    public IPage<DriveSchoolTeachingJournal> selectDriveSchoolTeachingJournalList(@Param("entity") DriveSchoolTeachingJournal driveSchoolTeachingJournal, Page<DriveSchoolTeachingJournal> page);

    /**
     * 新增教学日志
     *
     * @param driveSchoolTeachingJournal 教学日志
     * @return 结果
     */
    public int insertDriveSchoolTeachingJournal(DriveSchoolTeachingJournal driveSchoolTeachingJournal);

    /**
     * 修改教学日志
     *
     * @param driveSchoolTeachingJournal 教学日志
     * @return 结果
     */
    public int updateDriveSchoolTeachingJournal(DriveSchoolTeachingJournal driveSchoolTeachingJournal);

    /**
     * 删除教学日志
     *
     * @param id 教学日志主键
     * @return 结果
     */
    public int deleteDriveSchoolTeachingJournalById(Long id);

    /**
     * 批量删除教学日志
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDriveSchoolTeachingJournalByIds(Long[] ids);
}
