🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 启动流程 前台: ![](https://box.kancloud.cn/d8de76cf82f8abf043e540d41aeeda18_577x309.png) ![](https://box.kancloud.cn/2a55d6f8385807c6cd8a8e05b8c0daf7_577x345.png) 传入后台,后台接受transType启动流程 ~~~ @Override public Boolean applyExamine(CustomerPricing model, String transType) { TaskRequest taskRequest = new TaskRequest(); // 设置流程定义编码 taskRequest.setTransType(transType); String product = model.getProduct(); // 设置产品编码 taskRequest.setVar1(product); Long flowId = null; try { flowId = workFlowService.createProcess(taskRequest).getLflowid(); if (flowId != null) { model.setFlowId(Integer.valueOf(flowId.toString())); baseMapper.updateById(model); return true; } } catch (Exception e) { e.printStackTrace(); return false; } return false; ~~~