| | |
| | | } |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @GetMapping("statusStatistic") |
| | | @ApiOperation("获取工作流-各角色用户对应的工作台数据分类统计") |
| | | public Response<Map<String,Integer>> getPhaseStatistic(){ |
| | | public Response<Map<String,Integer>> getStatusStatistic(){ |
| | | DocUser user = ActionUtil.getUser(); |
| | | Map<String,Integer> map = service.getList(user); |
| | | return new Response().set(1,map); |
| | | Map<String,Integer> map = service.getStatusStatistic(user); |
| | | return new Response<Map<String,Integer>>().set(1,map); |
| | | } |
| | | |
| | | /* |
| | |
| | | return new Response().set(1,main); |
| | | } |
| | | |
| | | @PostMapping("info") |
| | | @ApiOperation("查询工作流的标题及描述") |
| | | public Response getInfo(@RequestParam int id){ |
| | | WorksheetMain main = service.getInfo(id); |
| | | return new Response().set(1,main); |
| | | } |
| | | |
| | | @GetMapping("myListPage") |
| | | @ApiOperation("我的工单") |
| | | public Response<PageInfo<WorksheetMain>> getMyList(@RequestParam int pageNum,@RequestParam int pageSize){ |
| | | DocUser user = ActionUtil.getUser(); |
| | | return service.getMyList(pageNum,pageSize,user); |
| | | } |
| | | |
| | | } |