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