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 { /** * 编辑任务 * * @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 selectByTUid(List taskIds, Integer uid); }