package com.ruoyi.system.mapper;
|
|
import java.util.Date;
|
import java.util.List;
|
import com.ruoyi.system.domain.AiStudyBatch;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* AI学习批次Mapper接口
|
*
|
* @author ruoyi
|
* @date 2023-03-07
|
*/
|
public interface AiStudyBatchMapper
|
{
|
/**
|
* 查询AI学习批次
|
*
|
* @param id AI学习批次主键
|
* @return AI学习批次
|
*/
|
public AiStudyBatch selectAiStudyBatchById(Long id);
|
|
/**
|
* 查询AI学习批次列表
|
*
|
* @param aiStudyBatch AI学习批次
|
* @return AI学习批次集合
|
*/
|
public List<AiStudyBatch> selectAiStudyBatchList(AiStudyBatch aiStudyBatch);
|
|
/**
|
* 新增AI学习批次
|
*
|
* @param aiStudyBatch AI学习批次
|
* @return 结果
|
*/
|
public int insertAiStudyBatch(AiStudyBatch aiStudyBatch);
|
|
/**
|
* 修改AI学习批次
|
*
|
* @param aiStudyBatch AI学习批次
|
* @return 结果
|
*/
|
public int updateAiStudyBatch(AiStudyBatch aiStudyBatch);
|
|
/**
|
* 删除AI学习批次
|
*
|
* @param id AI学习批次主键
|
* @return 结果
|
*/
|
public int deleteAiStudyBatchById(Long id);
|
|
/**
|
* 批量删除AI学习批次
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteAiStudyBatchByIds(Long[] ids);
|
|
/**
|
* (逻辑删除)批量修改AI delFlag属性
|
*
|
* @param ids 需要删除的数据主键集合
|
* @param userName 执行删除操作的用户名
|
* @param date 执行删除操作的时间
|
* @return 结果
|
*/
|
public int updateDelFlagByIds(@Param("ids") Long[] ids, @Param("userName") String userName, @Param("date") Date date);
|
/**
|
* (逻辑删除)根据id修改AI delFlag属性
|
*
|
* @param id 需要删除的数据主键
|
* @param userName 执行删除操作的用户名
|
* @param date 执行删除操作的时间
|
* @return 结果
|
*/
|
public int updateDelFlagById(@Param("id")Long id, @Param("userName")String userName, @Param("date")Date date);
|
}
|