package cn.stylefeng.workflow.instance.modular.draft.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import cn.stylefeng.workflow.instance.api.pojo.request.WorkflowSaveDraftRequest;
import cn.stylefeng.workflow.instance.api.pojo.task.CommonTaskItem;
import cn.stylefeng.workflow.instance.modular.draft.entity.FlowEngineDraft;
import cn.stylefeng.workflow.instance.modular.draft.pojo.request.FlowEngineDraftRequest;
import com.baomidou.mybatisplus.extension.service.IService;

public interface FlowEngineDraftService extends IService<FlowEngineDraft> {

    void add(WorkflowSaveDraftRequest workflowSaveDraftRequest);

    PageResult<CommonTaskItem> findPage(FlowEngineDraftRequest flowEngineDraftRequest);

    FlowEngineDraft getDetail(FlowEngineDraftRequest flowEngineDraftRequest);

}
