提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.workflow.modular.listener; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.workflow.core.cache.TempAssignCache; |
|
4 |
import org.activiti.engine.delegate.DelegateTask; |
|
5 |
import org.activiti.engine.delegate.TaskListener; |
|
6 |
|
|
7 |
/** |
|
8 |
* 指定下一任务待办人 |
|
9 |
* |
|
10 |
* @author fengshuonan |
|
11 |
* @Date 2019-08-28 15:39 |
|
12 |
*/ |
|
13 |
public class ManagerTaskHandler implements TaskListener { |
|
14 |
|
|
15 |
@Override |
|
16 |
public void notify(DelegateTask delegateTask) { |
|
17 |
|
|
18 |
TempAssignCache.set(delegateTask.getId()); |
|
19 |
|
|
20 |
} |
|
21 |
|
|
22 |
} |
|
23 |
|