| | |
| | | // return new Response().setII(1,"创建成功"); |
| | | //} |
| | | |
| | | @PutMapping |
| | | @PostMapping |
| | | @ApiOperation(value = "更新动作规则") |
| | | public Response update(@RequestBody List<WorkflowAction> workflowActionList){ |
| | | service.update(workflowActionList); |
| | |
| | | */ |
| | | @GetMapping("actionTypeList4Role") |
| | | @ApiOperation(value = "查询动作列表") |
| | | public Response getActionTypeList(@RequestParam Integer type,@RequestBody Integer status){ |
| | | public Response getActionTypeList(@RequestParam Integer type,@RequestParam Integer status){ |
| | | int userRole = ActionUtil.getUser().getURole(); |
| | | List<WorkflowAction> actionTypeList = service.getActionTypeList(type,status,userRole); |
| | | return new Response<List<WorkflowAction>>().set(1,actionTypeList); |