package com.yunzhupaas.engine.mapper;

import com.yunzhupaas.base.mapper.SuperMapper;
import com.yunzhupaas.engine.entity.FlowTaskEntity;
import com.yunzhupaas.engine.model.flowtask.FlowTaskListModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 流程任务
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 * @date 2023/09/27
 */
public interface FlowTaskMapper extends SuperMapper<FlowTaskEntity> {
    /**
     * 已办事宜
     *
     * @return
     */
    List<FlowTaskListModel> getTrialList(@Param("map") Map<String, Object> map);

    /**
     * 抄送事宜
     *
     * @return
     */
    List<FlowTaskListModel> getCirculateList(@Param("map") Map<String, Object> map);

    /**
     * 待办事宜
     *
     * @return
     */
    List<FlowTaskListModel> getWaitList(@Param("map") Map<String, Object> map);

}

