|
@@ -87,13 +87,14 @@ public class SxspHazardManagementRule extends BaseRuleImpl implements IBaseRule
|
87
|
87
|
// 业务使用
|
88
|
88
|
// flowVar就是业务传递过来的参数集
|
89
|
89
|
// 获取这里面的变量需要在流程中配置——流程建模时,右键——**属性设置——流程变量——添加变量——要不然获取不到变量
|
90
|
|
- final String url = Constants.WF_PRE_URL + "/exp/Hiddendanger/horizonApprovalProcess";
|
|
90
|
+ final String url = Constants.WF_PRE_URL + "/safe/Hiddendanger/horizonApprovalProcess";
|
91
|
91
|
System.err.println(flowVar.toString());
|
92
|
92
|
String id = flowVar.get("id");
|
93
|
93
|
final Map<String, Object> params = new HashMap<>();
|
94
|
94
|
System.err.println(url);
|
95
|
95
|
params.put("id", id);
|
96
|
96
|
params.put("processInstanceStatus", status);
|
|
97
|
+ params.put("eventNodeName", eventNode.getNodename());
|
97
|
98
|
Constants.EXECUTOR_SERVICE.submit(new Runnable() {
|
98
|
99
|
@Override
|
99
|
100
|
public void run() {
|