package com.ots.project.exam.mapper;
|
|
import com.ots.project.exam.domain.TExamLevel;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* 问卷类型Mapper接口
|
*
|
* @author ots
|
* @date 2019-12-15
|
*/
|
public interface TExamLevelMapper
|
{
|
/**
|
* 查询问卷类型
|
*
|
* @param id 问卷类型ID
|
* @return 问卷类型
|
*/
|
public TExamLevel selectTExamLevelById(Long id);
|
|
/**
|
* 查询问卷类型列表
|
*
|
* @param tExamLevel 问卷类型
|
* @return 问卷类型集合
|
*/
|
public List<TExamLevel> selectTExamLevelList(TExamLevel tExamLevel);
|
|
public List<TExamLevel> selectTExamLevelList();
|
|
public List<TExamLevel> selectTExamLevelByquestionTemplateIdList(String questionTemplateId);
|
|
/**
|
* 新增问卷类型
|
*
|
* @param tExamLevel 问卷类型
|
* @return 结果
|
*/
|
public int insertTExamLevel(TExamLevel tExamLevel);
|
|
/**
|
* 修改问卷类型
|
*
|
* @param tExamLevel 问卷类型
|
* @return 结果
|
*/
|
public int updateTExamLevel(TExamLevel tExamLevel);
|
|
/**
|
* 删除问卷类型
|
*
|
* @param id 问卷类型ID
|
* @return 结果
|
*/
|
public int deleteTExamLevelById(Long id);
|
|
/**
|
* 批量删除问卷类型
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteTExamLevelByIds(String[] ids);
|
|
List<TExamLevel> selectTExamLevelAndTSubjectById(Long id);
|
|
public TExamLevel selectTExamLevelByUuidLan(@Param("uuid") String uuid, @Param("langType") String langType);
|
|
public List<TExamLevel> selectTExamLevelByUuid(@Param("uuid") String uuid);
|
|
List<TExamLevel> selectTExamLevelListByType(Integer[] types);
|
}
|