青羊经侦大队-数据平台
baizonghao
2023-03-23 0261d270c9f9b5282d923e585c307aee44b0612c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.example.jz.controller;
 
 
import com.example.jz.modle.R;
import com.example.jz.service.WorkbenchService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
@RestController
@RequestMapping("/workBench")
@Api(tags = "工作台")
public class WorkbenchController {
 
    @Autowired
    WorkbenchService workbenchService;
 
    @ApiOperation(httpMethod = "GET", value = "查询今日待审核人员")
    @GetMapping("/checkPendingNumber")
    @ApiResponse(message = "执行成功", code = 200)
    public R getCheckPendingUser() {
        return R.ok(workbenchService.getCheckPending());
    }
 
    @ApiOperation(httpMethod = "GET", value = "查询今日已审核人员")
    @GetMapping("/checkPendedNumber")
    @ApiResponse(message = "执行成功", code = 200)
    public R getCheckPendedUser() {
        return R.ok(workbenchService.getCheckPended());
    }
 
    @ApiOperation(httpMethod = "GET", value = "查询今日进群人数")
    @GetMapping("/intoGroupNumber")
    @ApiResponse(message = "执行成功", code = 200)
    public R getIntoGroupNumber() {
        return R.ok(workbenchService.getIntoGroupNumbers());
    }
 
    @ApiOperation(httpMethod = "GET", value = "新增案件数")
    @GetMapping("/newCase")
    @ApiResponse(message = "执行成功", code = 200)
    public R getNewCase() {
        return R.ok(workbenchService.getNewCase());
    }
 
    @ApiOperation(httpMethod = "GET", value = "案件总数")
    @GetMapping("/allCase")
    @ApiResponse(message = "执行成功", code = 200)
    public R getAllCase() {
        return R.ok(workbenchService.getAllCase());
    }
 
    @ApiOperation(httpMethod = "GET", value = "管理人员总数")
    @GetMapping("/allManager")
    @ApiResponse(message = "执行成功", code = 200)
    public R getAllManager() {
        return R.ok(workbenchService.getAllManager());
    }
 
    @ApiOperation(httpMethod = "GET", value = "待审核人员")
    @GetMapping("/checkPendingList")
    @ApiResponse(message = "执行成功", code = 200)
    public R getAllCheckPendingList() {
        return R.ok(workbenchService.getAllCheckPendingList());
    }
 
    @ApiOperation(httpMethod = "GET", value = "群组动态")
    @GetMapping("/groupMessage")
    @ApiResponse(message = "执行成功", code = 200)
    public R getGroupMessage() {
        return R.ok(workbenchService.getGroupMessage());
    }
}