admin
2024-05-27 816ba1e56476f0e23f51711aae4b34507a04a59c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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);
}