| | |
| | | |
| | | @GetMapping("actionTypeList") |
| | | @ApiOperation(value = "查询动作类型列表") |
| | | public Response<Map<Integer,List<WorkflowAction>>> getActionTypeList(@RequestParam Integer type,@RequestParam Integer linkType){ |
| | | Map<Integer,List<WorkflowAction>> actionTypeList = service.getActionTypeList(type,linkType); |
| | | return new Response<Map<Integer,List<WorkflowAction>>>().set(1,actionTypeList); |
| | | public Response<List<WorkflowAction>> getActionTypeList(@RequestParam Integer type,@RequestParam Integer linkType){ |
| | | List<WorkflowAction> actionTypeList = service.getActionTypeList(type,linkType); |
| | | return new Response<List<WorkflowAction>>().set(1,actionTypeList); |
| | | } |
| | | } |