package com.qmth.distributed.print.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qmth.distributed.print.business.bean.dto.ApprovalForm.ApprovalInfo;
import com.qmth.distributed.print.business.bean.dto.ReviewLogDto;
import com.qmth.distributed.print.business.entity.ExamTaskReviewLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 命题任务审核日志表 Mapper 接口
 * </p>
 *
 * @author xf
 * @since 2021-03-23
 */
public interface ExamTaskReviewLogMapper extends BaseMapper<ExamTaskReviewLog> {

    List<ReviewLogDto> list(Long examTaskId);

    ApprovalInfo findOnePassBySetUp(@Param("flowId") Long flowId,@Param("setup") int setup);
}
