From ee75297e2f895973a4b2eb35506523e35b8baeb4 Mon Sep 17 00:00:00 2001
From: 赵士淞 <zhaoss@yhzhg.cn>
Date: Tue, 25 Apr 2023 01:52:52 +0000
Subject: [PATCH] 营业费用(Flowable)
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/business/service/impl/BusinessExpenseServiceFlowableImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/business/service/impl/BusinessExpenseServiceFlowableImpl.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/business/service/impl/BusinessExpenseServiceFlowableImpl.java
index e5e0a94..505ca03 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/business/service/impl/BusinessExpenseServiceFlowableImpl.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/business/service/impl/BusinessExpenseServiceFlowableImpl.java
@@ -70,7 +70,7 @@
@Transactional(rollbackFor = Exception.class)
public Map<String, Object> approve() throws Exception {
// 发起通信
- Object returnObject = api.post("http://localhost:8888/api/common/approve?key=" + "businessExpenseApply", new HashMap<>());
+ Object returnObject = api.post("http://localhost:8888/api/common/approve?key=" + "businessExpenseApply" + "&userId=" + SecurityUtils.getCurrentUserId(), new HashMap<>());
// 查询处理
return queryHandle(returnObject);
}
@@ -119,7 +119,7 @@
public void create(BusinessExpenseDto resources) throws Exception {
// 参数
Map<String, Object> params = ObjectUtil.toObjectMap(resources);
- params.put("approver", 1);
+ params.put("approver", "1,2,3,4,5");
// 发起通信
api.post("http://localhost:8888/api/common/run?key=" + "businessExpenseApply" + "&userId=" + SecurityUtils.getCurrentUserId(), params);
}
--
Gitblit v1.9.3