赵士淞
2023-04-25 ee75297e2f895973a4b2eb35506523e35b8baeb4
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);
    }