wzp
2021-04-06 5e873863bc7324894c89b0a0fc77a6202c91cd64
src/main/java/com/ots/project/exam/mapper/TSubjectMapper.java
@@ -1,68 +1,21 @@
package com.ots.project.exam.mapper;
import com.ots.project.exam.domain.TSubject;
import java.util.List;
/**
 * 维度表Mapper接口
 *
 * @author ots
 * @date 2019-12-09
 */
public interface TSubjectMapper {
    /**
     * 查询维度表
     *
     * @param id 维度表ID
     * @return 维度表
     */
    TSubject selectTSubjectById(Long id);
    /**
     * 查询维度表列表
     *
     * @param tSubject 维度表
     * @return 维度表集合
     */
    List<TSubject> selectTSubjectList(TSubject tSubject);
    List<TSubject> selectTSubjectList();
    /**
     * 新增维度表
     *
     * @param tSubject 维度表
     * @return 结果
     */
    int insertTSubject(TSubject tSubject);
    /**
     * 修改维度表
     *
     * @param tSubject 维度表
     * @return 结果
     */
    int updateTSubject(TSubject tSubject);
    /**
     * 删除维度表
     *
     * @param id 维度表ID
     * @return 结果
     */
    int deleteTSubjectById(Long id);
    /**
     * 批量删除维度表
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteTSubjectByIds(String[] ids);
    TSubject selectTSubjectAndTLeveById(Long id);
    List<TSubject> selectTSubjectAndTLeveByTemplateId(String questionTemplateId);
}