cczhang 2 个月前
父节点
当前提交
473e72060c

+ 3
- 1
src/main/java/com/horizon/common/constant/Constants.java 查看文件

13
      */
13
      */
14
     // public static final String WF_PRE_URL = "http://172.16.7.51:10034/jlyypt";
14
     // public static final String WF_PRE_URL = "http://172.16.7.51:10034/jlyypt";
15
     // 金岭
15
     // 金岭
16
-    public static final String WF_PRE_URL = "http://10.198.1.18:8003";
16
+    // public static final String WF_PRE_URL = "http://10.198.1.18:8003";
17
+    // 安全
18
+    public static final String WF_PRE_URL = "http://10.19.13.206/gateway";
17
     public static final ExecutorService EXECUTOR_SERVICE = Executors.newFixedThreadPool(10);
19
     public static final ExecutorService EXECUTOR_SERVICE = Executors.newFixedThreadPool(10);
18
 
20
 
19
 }
21
 }

+ 2
- 1
src/main/java/com/horizon/wf/core/rule/SxspHazardManagementRule.java 查看文件

87
          // 业务使用
87
          // 业务使用
88
         // flowVar就是业务传递过来的参数集
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
         System.err.println(flowVar.toString());
91
         System.err.println(flowVar.toString());
92
         String id = flowVar.get("id");
92
         String id = flowVar.get("id");
93
         final Map<String, Object> params = new HashMap<>();
93
         final Map<String, Object> params = new HashMap<>();
94
         System.err.println(url);
94
         System.err.println(url);
95
         params.put("id", id);
95
         params.put("id", id);
96
         params.put("processInstanceStatus", status);
96
         params.put("processInstanceStatus", status);
97
+        params.put("eventNodeName", eventNode.getNodename());
97
         Constants.EXECUTOR_SERVICE.submit(new Runnable() {
98
         Constants.EXECUTOR_SERVICE.submit(new Runnable() {
98
             @Override
99
             @Override
99
             public void run() {
100
             public void run() {

正在加载...
取消
保存