Commit 9cc68df3a1dbd9542e4876150a83a645e387a33a
1 parent
7939d247
m
Showing
4 changed files
with
21 additions
and
3 deletions
trash-admin/src/main/resources/.gitignore
0 → 100644
| 1 | +/application-dev.yml |
trash-admin/src/main/resources/application-dev.yml
| @@ -27,7 +27,7 @@ spring: | @@ -27,7 +27,7 @@ spring: | ||
| 27 | master: | 27 | master: |
| 28 | url: jdbc:mysql://localhost:3306/trash?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true | 28 | url: jdbc:mysql://localhost:3306/trash?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true |
| 29 | username: root | 29 | username: root |
| 30 | - password: asd0731. | 30 | + password: root |
| 31 | # 从库数据源 | 31 | # 从库数据源 |
| 32 | slave: | 32 | slave: |
| 33 | # 从数据源开关/默认关闭 | 33 | # 从数据源开关/默认关闭 |
| @@ -81,7 +81,7 @@ spring: | @@ -81,7 +81,7 @@ spring: | ||
| 81 | # 端口,默认为6379 | 81 | # 端口,默认为6379 |
| 82 | port: 6379 | 82 | port: 6379 |
| 83 | # 密码 | 83 | # 密码 |
| 84 | - password: bsth123 | 84 | + password: |
| 85 | # 连接超时时间 | 85 | # 连接超时时间 |
| 86 | timeout: 10s | 86 | timeout: 10s |
| 87 | database: 10 | 87 | database: 10 |
trash-common/src/main/java/com/trash/common/utils/RouteUtils.java
0 → 100644
| 1 | +package com.trash.common.utils; | ||
| 2 | + | ||
| 3 | +import com.trash.common.utils.spring.SpringUtils; | ||
| 4 | + | ||
| 5 | +public class RouteUtils { | ||
| 6 | + | ||
| 7 | + public static void updateThreesetpTask(String pid,String busId){ | ||
| 8 | + | ||
| 9 | +// Long bid = Long.parseLong(busId.split(":")[1]); | ||
| 10 | +// | ||
| 11 | +// Object object = SpringUtils.getBean(I); | ||
| 12 | +// | ||
| 13 | +// | ||
| 14 | +// System.out.println(object); | ||
| 15 | + } | ||
| 16 | + | ||
| 17 | +} |
trash-workFlow/src/main/java/com/trash/workflow/service/impl/WorkflowServiceImpl.java
| @@ -120,7 +120,7 @@ public class WorkflowServiceImpl implements IWorkflowService { | @@ -120,7 +120,7 @@ public class WorkflowServiceImpl implements IWorkflowService { | ||
| 120 | .start() | 120 | .start() |
| 121 | .withProcessDefinitionKey("workflow_leave") | 121 | .withProcessDefinitionKey("workflow_leave") |
| 122 | .withName(workflow.getTitle()) | 122 | .withName(workflow.getTitle()) |
| 123 | - .withBusinessKey("workflow_leave:"+workflow.getId()) | 123 | + .withBusinessKey(workflow.getId()) |
| 124 | .withVariable("route",index) | 124 | .withVariable("route",index) |
| 125 | .build()); | 125 | .build()); |
| 126 | 126 |