baizonghao
2023-07-31 98b2f41e13c48219e054cf8b80c459298a01c910
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
package com.mindskip.xzs.service;
 
import com.mindskip.xzs.domain.ExamPaper;
import com.mindskip.xzs.domain.ExamPaperAnswer;
import com.mindskip.xzs.domain.TaskExamCustomerAnswer;
 
import java.util.Date;
import java.util.List;
 
/**
 * @version 2.2.0
 * @description: 任务完成情况
 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司
 * @date 2021 /9/7 9:45
 */
public interface TaskExamCustomerAnswerService extends BaseService<TaskExamCustomerAnswer> {
 
    /**
     * 编辑任务
     *
     * @param examPaper       the exam paper
     * @param examPaperAnswer the exam paper answer
     * @param now             the now
     */
    void insertOrUpdate(ExamPaper examPaper, ExamPaperAnswer examPaperAnswer, Date now);
 
    /**
     * 获取任务完成情况
     *
     * @param tid the tid
     * @param uid the uid
     * @return the task exam customer answer
     */
    TaskExamCustomerAnswer selectByTUid(Integer tid, Integer uid);
 
    /**
     * 获取用户完成的任务列表
     *
     * @param taskIds the task ids
     * @param uid     the uid
     * @return the list
     */
    List<TaskExamCustomerAnswer> selectByTUid(List<Integer> taskIds, Integer uid);
}