src/main/java/com/whyc/controller/WorksheetMainController.java
@@ -34,12 +34,12 @@ } } @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); } /*