广丰卷烟厂数采质量分析系统
zhuguifei
2026-03-02 80ff784bf60637cd348ae665fc907f7b1e527dd8
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package org.dromara.workflow.service;
 
import org.dromara.common.core.domain.dto.TaskAssigneeDTO;
import org.dromara.common.core.domain.model.TaskAssigneeBody;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.workflow.domain.bo.FlowSpelBo;
import org.dromara.workflow.domain.vo.FlowSpelVo;
 
import java.util.Collection;
import java.util.List;
import java.util.Map;
 
/**
 * 流程spel表达式定义Service接口
 *
 * @author Michelle.Chung
 * @date 2025-07-04
 */
public interface IFlwSpelService {
 
    /**
     * 查询流程spel表达式定义
     *
     * @param id 主键
     * @return 流程spel表达式定义
     */
    FlowSpelVo queryById(Long id);
 
    /**
     * 分页查询流程spel表达式定义列表
     *
     * @param bo        查询条件
     * @param pageQuery 分页参数
     * @return 流程spel表达式定义分页列表
     */
    TableDataInfo<FlowSpelVo> queryPageList(FlowSpelBo bo, PageQuery pageQuery);
 
    /**
     * 查询符合条件的流程spel表达式定义列表
     *
     * @param bo 查询条件
     * @return 流程spel表达式定义列表
     */
    List<FlowSpelVo> queryList(FlowSpelBo bo);
 
    /**
     * 新增流程spel表达式定义
     *
     * @param bo 流程spel表达式定义
     * @return 是否新增成功
     */
    Boolean insertByBo(FlowSpelBo bo);
 
    /**
     * 修改流程spel表达式定义
     *
     * @param bo 流程spel表达式定义
     * @return 是否修改成功
     */
    Boolean updateByBo(FlowSpelBo bo);
 
    /**
     * 校验并批量删除流程spel表达式定义信息
     *
     * @param ids     待删除的主键集合
     * @param isValid 是否进行有效性校验
     * @return 是否删除成功
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
 
    /**
     * 查询spel并返回任务指派的列表,支持分页
     *
     * @param taskQuery 查询条件
     * @return 办理人
     */
    TaskAssigneeDTO selectSpelByTaskAssigneeList(TaskAssigneeBody taskQuery);
 
    /**
     * 根据视图 SpEL 表达式列表,查询对应的备注信息
     *
     * @param viewSpels SpEL 表达式列表
     * @return 映射表:key 为 SpEL 表达式,value 为对应备注;若为空则返回空 Map
     */
    Map<String, String> selectRemarksBySpels(List<String> viewSpels);
 
}