提交 | 用户 | 时间
|
8286c6
|
1 |
package cn.stylefeng.guns.workflow.modular.mapper; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.workflow.modular.entity.Task; |
|
4 |
import cn.stylefeng.guns.workflow.modular.model.params.TaskParam; |
|
5 |
import cn.stylefeng.guns.workflow.modular.model.result.TaskResult; |
|
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.HashMap; |
|
11 |
import java.util.List; |
|
12 |
import java.util.Map; |
|
13 |
|
|
14 |
/** |
|
15 |
* <p> |
|
16 |
* Mapper 接口 |
|
17 |
* </p> |
|
18 |
* |
|
19 |
* @author fengshuonan |
|
20 |
* @since 2019-08-19 |
|
21 |
*/ |
|
22 |
public interface TaskWaitingMapper extends BaseMapper<Task> { |
|
23 |
|
|
24 |
/** |
|
25 |
* 获取列表 |
|
26 |
* |
|
27 |
* @author fengshuonan |
|
28 |
* @Date 2019-08-19 |
|
29 |
*/ |
|
30 |
List<TaskResult> customList(@Param("paramCondition") TaskParam paramCondition); |
|
31 |
|
|
32 |
/** |
|
33 |
* 获取map列表 |
|
34 |
* |
|
35 |
* @author fengshuonan |
|
36 |
* @Date 2019-08-19 |
|
37 |
*/ |
|
38 |
List<Map<String, Object>> customMapList(@Param("paramCondition") TaskParam paramCondition); |
|
39 |
|
|
40 |
/** |
|
41 |
* 获取分页实体列表 |
|
42 |
* |
|
43 |
* @author fengshuonan |
|
44 |
* @Date 2019-08-19 |
|
45 |
*/ |
|
46 |
Page<TaskResult> customPageList(@Param("page") Page page, @Param("paramCondition") TaskParam paramCondition); |
|
47 |
|
|
48 |
/** |
|
49 |
* 获取分页map列表 |
|
50 |
* |
|
51 |
* @author fengshuonan |
|
52 |
* @Date 2019-08-19 |
|
53 |
*/ |
|
54 |
Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") TaskParam paramCondition); |
|
55 |
|
|
56 |
/** |
|
57 |
* 待办任务 or正在运行任务列表 |
|
58 |
* |
|
59 |
* @author fengshuonan |
|
60 |
* @Date 2019-08-19 |
|
61 |
*/ |
|
62 |
List<Map<String, Object>> datalistPage(@Param("page") Page page, @Param("pd") HashMap<String, Object> param); |
|
63 |
|
|
64 |
/** |
|
65 |
* 获取当前登录人角色信息 |
|
66 |
* |
|
67 |
* @author fengshuonan |
|
68 |
* @Date 2019-08-26 |
|
69 |
*/ |
|
70 |
String getUserRoleString(String account); |
|
71 |
} |