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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package com.ots.project.exam.service;
 
import com.ots.framework.web.domain.Ztree;
import com.ots.project.exam.domain.TExamPaper;
import com.ots.project.exam.domain.TExamReport;
import com.ots.project.exam.domain.TQuestion;
import com.ots.project.exam.dto.ExamPaperTitleItem;
import com.ots.project.system.dict.domain.DictData;
 
import java.util.List;
 
/**
 * 产品包列表Service接口
 *
 * @author ots
 * @date 2019-11-20
 */
public interface ITExamPaperService {
    /**
     * 查询产品包列表
     *
     * @param id 产品包列表ID
     * @return 产品包列表
     */
    TExamPaper selectTExamPaperById(Long id);
 
    /**
     * 查询产品包列表列表
     *
     * @param tExamPaper 产品包列表
     * @return 产品包列表集合
     */
    List<TExamPaper> selectTExamPaperList(TExamPaper tExamPaper);
 
    /**
     * 新增产品包列表
     *
     * @param tExamPaper 产品包列表
     * @return 结果
     */
    int insertTExamPaper(TExamPaper tExamPaper);
 
    /**
     * 修改产品包列表
     *
     * @param tExamPaper 产品包列表
     * @return 结果
     */
    int updateTExamPaper(TExamPaper tExamPaper);
 
    /**
     * 批量删除产品包列表
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteTExamPaperByIds(String ids);
 
    /**
     * 删除产品包列表信息
     *
     * @param id 产品包列表ID
     * @return 结果
     */
    int deleteTExamPaperById(Long id);
 
    /**
     * 产品包列表
     * @param deletes
     * @return
     */
    List<TExamPaper> selectProdByDeleteList(List<Long> deletes);
 
    /**
     * 产品树
     * @return
     */
    List<Ztree> selectProdTree(String testType);
 
    List<TExamPaper> getUserPapers();
 
    /**
     * 更新deleted的状态
     * @return
     */
    int updateDeleted(TExamPaper tExamPaper);
 
    // 更新旧的数据然后入库
    List<TQuestion> updateInsertQuestion(List<TQuestion> questionList, String multilingual);
 
    int deleteProductContent(TExamPaper tExamPaper);
 
    void recallThaiInterface(TExamReport tExamReportResult, String reportType);
 
    List<ExamPaperTitleItem> getExamPaperTitleContent(TExamPaper tExamPaper);
 
    List<DictData> getType(Long id);
}