提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.workflow.modular.mapper; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.workflow.modular.entity.Procdef; |
|
4 |
import cn.stylefeng.guns.workflow.modular.model.params.ProcdefParam; |
|
5 |
import cn.stylefeng.guns.workflow.modular.model.result.ProcdefResult; |
|
6 |
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|
7 |
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
8 |
import org.apache.ibatis.annotations.Param; |
|
9 |
|
|
10 |
import java.util.List; |
|
11 |
import java.util.Map; |
|
12 |
|
|
13 |
/** |
|
14 |
* <p> |
|
15 |
* Mapper 接口 |
|
16 |
* </p> |
|
17 |
* |
|
18 |
* @author stylefeng |
|
19 |
* @since 2019-08-11 |
|
20 |
*/ |
|
21 |
public interface ProcessMapper extends BaseMapper<Procdef> { |
|
22 |
|
|
23 |
/** |
|
24 |
* 获取列表 |
|
25 |
* |
|
26 |
* @author stylefeng |
|
27 |
* @Date 2019-08-11 |
|
28 |
*/ |
|
29 |
List<ProcdefResult> customList(@Param("paramCondition") ProcdefParam paramCondition); |
|
30 |
|
|
31 |
/** |
|
32 |
* 获取map列表 |
|
33 |
* |
|
34 |
* @author stylefeng |
|
35 |
* @Date 2019-08-11 |
|
36 |
*/ |
|
37 |
List<Map<String, Object>> customMapList(@Param("paramCondition") ProcdefParam paramCondition); |
|
38 |
|
|
39 |
/** |
|
40 |
* 获取分页实体列表 |
|
41 |
* |
|
42 |
* @author stylefeng |
|
43 |
* @Date 2019-08-11 |
|
44 |
*/ |
|
45 |
Page<ProcdefResult> customPageList(@Param("page") Page page, @Param("paramCondition") ProcdefParam paramCondition); |
|
46 |
|
|
47 |
/** |
|
48 |
* 获取分页map列表 |
|
49 |
* |
|
50 |
* @author stylefeng |
|
51 |
* @Date 2019-08-11 |
|
52 |
*/ |
|
53 |
Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ProcdefParam paramCondition); |
|
54 |
|
|
55 |
/** |
|
56 |
* 激活or挂起任务(指定某个流程的所有任务) |
|
57 |
* |
|
58 |
* @author fengshuonan |
|
59 |
* @Date 2019/8/12 22:09 |
|
60 |
*/ |
|
61 |
void onoffAllTask(@Param("id") String id, @Param("status") Integer status); |
|
62 |
|
|
63 |
/** |
|
64 |
* 激活or挂起任务(指定某个流程的一个任务) |
|
65 |
* |
|
66 |
* @author fengshuonan |
|
67 |
* @Date 2019/8/27 10:48 |
|
68 |
*/ |
|
69 |
void onoffTask(@Param("id") String id, @Param("status") Integer status); |
|
70 |
|
|
71 |
/** |
|
72 |
* 流程变量列表 |
|
73 |
* |
|
74 |
* @author fengshuonan |
|
75 |
* @Date 2019/8/21 14:08 |
|
76 |
*/ |
|
77 |
List<Map<String, Object>> varList(String procInstId); |
|
78 |
|
|
79 |
/** |
|
80 |
* 历史任务节点列表 |
|
81 |
* |
|
82 |
* @author fengshuonan |
|
83 |
* @Date 2019/8/21 14:08 |
|
84 |
*/ |
|
85 |
List<Map<String, Object>> historyTaskList(String procInstId); |
|
86 |
|
|
87 |
/** |
|
88 |
* 历史流程变量列表 |
|
89 |
* |
|
90 |
* @author fengshuonan |
|
91 |
* @Date 2019/8/21 |
|
92 |
*/ |
|
93 |
List<Map<String, Object>> historyVariableList(String procInstId); |
|
94 |
} |