广丰卷烟厂数采质量分析系统
zhuguifei
2026-03-02 72cc175fd408d52ad044d63964f394556568f9f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package org.dromara.workflow.service;
 
import org.dromara.common.core.domain.dto.UserDTO;
 
import java.util.List;
 
/**
 * 通用 工作流服务
 *
 * @author LionLi
 */
public interface IFlwCommonService {
 
    /**
     * 发送消息
     *
     * @param flowName    流程定义名称
     * @param instId      实例id
     * @param messageType 消息类型
     * @param message     消息内容,为空则发送默认配置的消息内容
     */
    void sendMessage(String flowName, Long instId, List<String> messageType, String message);
 
    /**
     * 发送消息
     *
     * @param messageType 消息类型
     * @param message     消息内容
     * @param subject     邮件标题
     * @param userList    接收用户
     */
    void sendMessage(List<String> messageType, String message, String subject, List<UserDTO> userList);
 
    /**
     * 申请人节点编码
     *
     * @param definitionId 流程定义id
     * @return 申请人节点编码
     */
    String applyNodeCode(Long definitionId);
}