package com.ots.project.exam.service;
|
|
import com.ots.project.exam.domain.TSubject;
|
|
import java.util.List;
|
|
/**
|
* 维度表Service接口
|
*
|
* @author ots
|
* @date 2019-12-09
|
*/
|
public interface ITSubjectService {
|
/**
|
* 查询维度表
|
*
|
* @param id 维度表ID
|
* @return 维度表
|
*/
|
public TSubject selectTSubjectById(Long id);
|
|
public TSubject selectTSubjectAndTLeveById(Long id);
|
|
/**
|
* 查询维度表列表
|
*
|
* @param tSubject 维度表
|
* @return 维度表集合
|
*/
|
public List<TSubject> selectTSubjectList(TSubject tSubject);
|
|
public List<TSubject> selectTSubjectList();
|
|
/**
|
* 新增维度表
|
*
|
* @param tSubject 维度表
|
* @return 结果
|
*/
|
public int insertTSubject(TSubject tSubject);
|
|
/**
|
* 修改维度表
|
*
|
* @param tSubject 维度表
|
* @return 结果
|
*/
|
public int updateTSubject(TSubject tSubject);
|
|
/**
|
* 批量删除维度表
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteTSubjectByIds(String ids);
|
|
/**
|
* 删除维度表信息
|
*
|
* @param id 维度表ID
|
* @return 结果
|
*/
|
public int deleteTSubjectById(Long id);
|
|
/**
|
* 根据文件类型的的模板获得维度对应的科目
|
*/
|
|
public List<TSubject> selectTSubjectAndTLeveByTemplateId(String questionTemplateId);
|
|
}
|