|
@@ -87,12 +87,15 @@ public class SalRule extends BaseRuleImpl implements IBaseRule {
|
87
|
87
|
// 业务使用
|
88
|
88
|
// flowVar就是业务传递过来的参数集
|
89
|
89
|
// 获取这里面的变量需要在流程中配置——流程建模时,右键——**属性设置——流程变量——添加变量——要不然获取不到变量
|
90
|
|
- String url = Constants.WF_PRE_URL + "/sal/PrepayErp/acceptSubmit";
|
|
90
|
+ String url = Constants.WF_PRE_URL + "/sal/PrepayErp/horizonAcceptSubmit";
|
|
91
|
+ System.err.println(flowVar.toString());
|
91
|
92
|
String id = flowVar.get("id");
|
92
|
93
|
Map<String, Object> params = new HashMap<>();
|
|
94
|
+ System.err.println(url);
|
93
|
95
|
params.put("id", id);
|
94
|
96
|
params.put("processInstanceStatus", status);
|
95
|
97
|
String result = HttpUtil.post(url, params);
|
|
98
|
+ System.err.println("result:" + result);
|
96
|
99
|
return true;
|
97
|
100
|
}
|
98
|
101
|
}
|