package cn.stylefeng.workflow.design.modular.service;

import cn.stylefeng.workflow.design.modular.entity.UserCommonWorkflow;
import cn.stylefeng.workflow.design.modular.pojo.request.UserCommonWorkflowRequest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

public interface UserCommonWorkflowService extends IService<UserCommonWorkflow> {

    void add(UserCommonWorkflowRequest userCommonWorkflowRequest);

    void del(UserCommonWorkflowRequest userCommonWorkflowRequest);

    List<Long> findUserAuthedCommonFlow(Set<Long> userAuthedModelIdList);

}
