From 1b835e058fa1a8cc3d5994e56c1c45eda52654d2 Mon Sep 17 00:00:00 2001 From: jason <2667446@qq.com> Date: Sun, 31 Oct 2021 22:26:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9code=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/activiti/controller/oa/OALeaveController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/activiti/controller/oa/OALeaveController.java b/yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/activiti/controller/oa/OALeaveController.java index 8210f01e7..2980bc12c 100644 --- a/yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/activiti/controller/oa/OALeaveController.java +++ b/yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/activiti/controller/oa/OALeaveController.java @@ -41,6 +41,7 @@ public class OALeaveController { @PreAuthorize("@ss.hasPermission('oa:leave:create')") public CommonResult createLeave(@Valid @RequestBody OALeaveCreateReqVO createReqVO) { // TODO @芋艿:processKey 自己去理解下。不过得把 leave 变成枚举 + // TODO @芋艿 该方法没有用到, 是前一个版本的, 可以删掉。 createReqVO.setProcessKey("leave"); return success(leaveService.createLeave(createReqVO)); } @@ -49,6 +50,7 @@ public class OALeaveController { @ApiOperation("创建外置请假申请") public CommonResult createFormKeyLeave(@Valid @RequestBody OALeaveCreateReqVO createReqVO) { // TODO @芋艿:processKey 自己去理解下。不过得把 formkey 变成枚举 + // TODO @芋艿 : processKey 是 bpmn 中定义的id, 提交业务表单时候, 需要启动流程, 或许从前台传更合适 createReqVO.setProcessKey("leave-formkey"); return success(leaveService.createLeave(createReqVO)); }