Commit 9cc68df3a1dbd9542e4876150a83a645e387a33a

Authored by youxiw2000
1 parent 7939d247

m

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 27 master:
28 28 url: jdbc:mysql://localhost:3306/trash?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
29 29 username: root
30   - password: asd0731.
  30 + password: root
31 31 # 从库数据源
32 32 slave:
33 33 # 从数据源开关/默认关闭
... ... @@ -81,7 +81,7 @@ spring:
81 81 # 端口,默认为6379
82 82 port: 6379
83 83 # 密码
84   - password: bsth123
  84 + password:
85 85 # 连接超时时间
86 86 timeout: 10s
87 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 120 .start()
121 121 .withProcessDefinitionKey("workflow_leave")
122 122 .withName(workflow.getTitle())
123   - .withBusinessKey("workflow_leave:"+workflow.getId())
  123 + .withBusinessKey(workflow.getId())
124 124 .withVariable("route",index)
125 125 .build());
126 126  
... ...