linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
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
83
84
85
86
87
88
89
90
91
92
93
94
package com.ots.project.exam.mapper;
 
import com.ots.project.exam.domain.TExamReport;
 
import java.util.List;
import java.util.Map;
 
/**
 * 评测报告Mapper接口
 *
 * @author ots
 * @date 2019-12-26
 */
public interface TExamReportMapper {
    /**
     * 查询评测报告
     *
     * @param id 评测报告ID
     * @return 评测报告
     */
    TExamReport selectTExamReportById(Long id);
 
    /**
     * 查询评测报告列表
     *
     * @param tExamReport 评测报告
     * @return 评测报告集合
     */
    List<TExamReport> selectTExamReportList(TExamReport tExamReport);
 
    List<TExamReport> selectTExamHrEmailiReportList(TExamReport tExamReport);
 
    List<TExamReport> selectViewReportList(TExamReport tExamReport);
 
    List<TExamReport> selectHrResendTask(TExamReport tExamReport);
 
    /**
     * 新增评测报告
     *
     * @param tExamReport 评测报告
     * @return 结果
     */
    int insertTExamReport(TExamReport tExamReport);
 
    /**
     * 修改评测报告
     *
     * @param tExamReport 评测报告
     * @return 结果
     */
    int updateTExamReport(TExamReport tExamReport);
 
    int updateTExamReportStatus(TExamReport tExamReport);
 
    int updateTExamReportByTokenId(TExamReport tExamReport);
 
    /**
     * 删除评测报告
     *
     * @param id 评测报告ID
     * @return 结果
     */
    int deleteTExamReportById(Long id);
 
    /**
     * 批量删除评测报告
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteTExamReportByIds(String[] ids);
 
    /**
     * 批量更新审核状态
     *
     * @param params
     * @return
     */
    int updateTExamReportByIds(Map params);
 
    // 给测试包用户使用
    List<TExamReport> selectTExamReportByTokenList(String[] tokenIds);
 
    List<TExamReport> selectTExamReportByIds(String[] ids);
 
    /**
     * 根据用户id查询报告
     * @param ids
     * @return
     */
    List<TExamReport> selectTReportTemplatesByMemberId(String[] ids);
 
    int updateTExamReportDeleteLastOneByTokenId(TExamReport tExamReport);
}