From 5408b084f15779f1ced63841d1bd2c5ca86cf7f6 Mon Sep 17 00:00:00 2001 From: smallchill Date: Mon, 29 Apr 2019 14:19:11 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E6=9B=B4=E6=94=B9=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E4=B8=BA=E8=B4=A6=E5=8F=B7=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/springblade/flowable/business/feign/FlowClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blade-ops/blade-flow/src/main/java/org/springblade/flowable/business/feign/FlowClient.java b/blade-ops/blade-flow/src/main/java/org/springblade/flowable/business/feign/FlowClient.java index a039f423..8538cfff 100644 --- a/blade-ops/blade-flow/src/main/java/org/springblade/flowable/business/feign/FlowClient.java +++ b/blade-ops/blade-flow/src/main/java/org/springblade/flowable/business/feign/FlowClient.java @@ -52,7 +52,7 @@ public class FlowClient implements IFlowClient { @PostMapping(START_PROCESS_INSTANCE_BY_ID) public R startProcessInstanceById(String processDefinitionId, String businessKey, @RequestBody Map variables) { // 设置流程启动用户 - identityService.setAuthenticatedUserId(String.valueOf(SecureUtil.getUserId())); + identityService.setAuthenticatedUserId(String.valueOf(SecureUtil.getUserAccount())); // 开启流程 ProcessInstance processInstance = runtimeService.startProcessInstanceById(processDefinitionId, businessKey, variables); // 组装流程通用类 @@ -65,7 +65,7 @@ public class FlowClient implements IFlowClient { @PostMapping(START_PROCESS_INSTANCE_BY_KEY) public R startProcessInstanceByKey(String processDefinitionKey, String businessKey, @RequestBody Map variables) { // 设置流程启动用户 - identityService.setAuthenticatedUserId(String.valueOf(SecureUtil.getUserId())); + identityService.setAuthenticatedUserId(String.valueOf(SecureUtil.getUserAccount())); // 开启流程 ProcessInstance processInstance = runtimeService.startProcessInstanceByKey(processDefinitionKey, businessKey, variables); // 组装流程通用类