package cn.datax.service.workflow.service;

import cn.datax.service.workflow.api.query.FlowTaskQuery;
import cn.datax.service.workflow.api.vo.FlowHistTaskVo;
import cn.datax.service.workflow.api.vo.FlowTaskVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface FlowTaskService {

    /**
     * 分页查询待办任务
     * @param flowTaskQuery
     * @return
     */
    Page<FlowTaskVo> pageTodo(FlowTaskQuery flowTaskQuery);

    /**
     * 分页查询已办任务
     * @param flowTaskQuery
     * @return
     */
    Page<FlowHistTaskVo> pageDone(FlowTaskQuery flowTaskQuery);
}
