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);
|
}
|