package com.artfess.yhxt.task.dao;

import com.artfess.base.query.QueryFilter;
import com.artfess.yhxt.task.model.TaskAlreadyHandleHistory;
import com.artfess.yhxt.task.model.TaskWaitHandle;
import com.artfess.yhxt.task.vo.TaskAlreadyHandleHistoryVo;
import com.artfess.yhxt.task.vo.TaskWaitHandleVo;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * 主要是从待办处理完毕之后，向“已办”表中插入相关数据 Mapper 接口
 *
 * @company 阿特菲斯信息技术有限公司
 * @author baseli
 * @since 2021-09-16
 */
public interface TaskAlreadyHandleHistoryDao extends BaseMapper<TaskAlreadyHandleHistory> {

    /**
     *
     * @param convert2IPage
     * @param convert2Wrapper
     * @return
     */
    IPage<TaskAlreadyHandleHistoryVo> queryTaskWaitHandleHistory(IPage<TaskAlreadyHandleHistory> convert2IPage, @Param(Constants.WRAPPER) Wrapper<TaskAlreadyHandleHistory> convert2Wrapper);


    IPage<TaskAlreadyHandleHistory> queryTaskWaitHandleLog(IPage<TaskAlreadyHandleHistory> convert2IPage, @Param(Constants.WRAPPER) Wrapper<TaskAlreadyHandleHistory> convert2Wrapper);
}
