package com.fjhx.mapper.example;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjhx.entity.example.ExampleInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 流程实例 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-08-18
 */
public interface ExampleInfoMapper extends BaseMapper<ExampleInfo> {

    Page<Map<String, Object>> getWaitingProcessingPage(@Param("page") Page<ExampleInfo> page, @Param("ew") QueryWrapper<Object> wrapper);

    Page<Map<String, Object>> getDone(@Param("page") Page<ExampleInfo> page, @Param("userId") Long userId, @Param("ew") QueryWrapper<Object> wrapper);

}
