Explorar o código

统计分析接口定义

csg6 hai 10 meses
pai
achega
9b5cb0efd5
Modificáronse 13 ficheiros con 1420 adicións e 0 borrados
  1. 247 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedFunctionProblemStatisticsController.java
  2. 253 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedProductionProblemStatisticsController.java
  3. 259 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedRectificationFunctionProblemStatisticsController.java
  4. 259 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedRectificationProductionProblemStatisticsController.java
  5. 99 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/CheckedProblemDeptDetaailView.java
  6. 25 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/CoverageRateView.java
  7. 90 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/DeptDetaailView.java
  8. 54 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/DutyTypeProblemStatisticsView.java
  9. 25 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/FunctionDeptProblemContrastView.java
  10. 19 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/HistoryProblemNumberView.java
  11. 15 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/ProblemAttributeCategoryView.java
  12. 29 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/ProblemLevelView.java
  13. 46 0
      ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/ProblemNumberBase.java

+ 247 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedFunctionProblemStatisticsController.java

@@ -0,0 +1,247 @@
1
+package com.ruoyi.postCheck.controller;
2
+
3
+import com.ruoyi.common.core.controller.BaseController;
4
+import com.ruoyi.common.core.domain.AjaxResult;
5
+import com.ruoyi.postCheck.domain.homePage.AssessmentRatingView;
6
+import com.ruoyi.postCheck.domain.homePage.DeptProblemRectificationView;
7
+import com.ruoyi.postCheck.domain.homePage.PostCheckedProblemView;
8
+import com.ruoyi.postCheck.domain.homePage.PostCheckedUnCheckedView;
9
+import com.ruoyi.postCheck.domain.problemStatistics.*;
10
+import com.ruoyi.postCheck.service.IPostCheckedProblemService;
11
+import io.swagger.annotations.Api;
12
+import io.swagger.annotations.ApiImplicitParam;
13
+import io.swagger.annotations.ApiImplicitParams;
14
+import io.swagger.annotations.ApiOperation;
15
+import org.springframework.beans.factory.annotation.Autowired;
16
+import org.springframework.web.bind.annotation.GetMapping;
17
+import org.springframework.web.bind.annotation.RequestMapping;
18
+import org.springframework.web.bind.annotation.RestController;
19
+
20
+import java.math.BigDecimal;
21
+import java.util.*;
22
+
23
+/**
24
+ * 岗检问题表Controller
25
+ *
26
+ * @author csg
27
+ * @date 2023-12-23
28
+ */
29
+@Api(tags = "5.1.1-统计分析-检查统计-问题统计(职能管理)")
30
+@RestController
31
+@RequestMapping("/postCheck/functionProblemStatistics")
32
+public class PostCheckedFunctionProblemStatisticsController extends BaseController {
33
+    @Autowired
34
+    private IPostCheckedProblemService postCheckedProblemService;
35
+
36
+
37
+    @ApiOperation("1-职能部各部门问题数量对比")
38
+    @GetMapping("/functionDeptProblemContrast")
39
+//    @ApiImplicitParam(name = "notParam", value = "V2方便接口联调-这是返回信息", dataType = "FunctionDeptProblemContrastView", dataTypeClass = FunctionDeptProblemContrastView.class)
40
+    public AjaxResult functionDeptProblemContrast(FunctionDeptProblemContrastView notParam) { //notParam不是参数-是返回信息-方便接口联调
41
+//         查询问题表
42
+//        select * from "public"."post_checked_problem";
43
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
44
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
45
+
46
+        List<FunctionDeptProblemContrastView> list = new ArrayList<>();
47
+        FunctionDeptProblemContrastView data = new FunctionDeptProblemContrastView();
48
+        data.setDeptId(100l);
49
+        data.setDeptName("测试部门1");
50
+        data.setProblemTotal(6);
51
+        data.setProblemComplete(1);
52
+        data.setProblemSuitable(2);
53
+        data.setProblemEffective(3);
54
+
55
+        data.setProblemCategoryOne(1);
56
+        data.setProblemCategoryTwo(1);
57
+        data.setProblemCategoryThree(1);
58
+        data.setProblemCategoryFour(1);
59
+        data.setProblemCategoryFive(1);
60
+        data.setProblemCategorySix(1);
61
+
62
+        list.add(data);
63
+        return success(list);
64
+    }
65
+
66
+
67
+    @ApiOperation("2-岗检覆盖率")
68
+    @GetMapping("/coverageRateView")
69
+    public AjaxResult coverageRateView(CoverageRateView notParam) { //notParam不是参数-是返回信息-方便接口联调
70
+//         查询问题表
71
+//        select * from "public"."post_checked_problem";
72
+//        status = 40    状态:1-待指定整改人(问题录入完成时);2-待填写方案(部门管理员指定整改人后);3-方案填写完成;10-部门审核通过;11-部门审核驳回;20-专业部门人审核(非必填)通过;21-专业部门人审核驳回(非必填);30-整改人待上传实施(整改人上传实施图片);31-上传实施照片完成;40-复查部门人审核通过;41-复查部门人审核驳回
73
+//        is_rectification_completed = 1 整改情况-是否完成(1-Yes;2-No;)
74
+
75
+
76
+        List<CoverageRateView> list = new ArrayList<>();
77
+        CoverageRateView data = new CoverageRateView();
78
+        data.setProblemTotal(6);
79
+        data.setProblemComplete(5);
80
+
81
+        list.add(data);
82
+        return success(list);
83
+    }
84
+
85
+    @ApiOperation("3-岗检问题职责类别占比")
86
+    @GetMapping("/dutyTypeProblemStatisticsView")
87
+    public AjaxResult dutyTypeProblemStatisticsView(DutyTypeProblemStatisticsView notParam) { //notParam不是参数-是返回信息-方便接口联调
88
+//         查询问题表
89
+//        select * from "public"."post_checked_problem";
90
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
91
+
92
+
93
+        List<DutyTypeProblemStatisticsView> list = new ArrayList<>();
94
+        DutyTypeProblemStatisticsView data = new DutyTypeProblemStatisticsView();
95
+        data.setDutyTypeOne(1);
96
+        data.setDutyTypeTwo(2);
97
+        data.setDutyTypeThree(3);
98
+        data.setDutyTypeFour(4);
99
+
100
+        list.add(data);
101
+        return success(list);
102
+    }
103
+
104
+    @ApiOperation("4-岗检问题级别占比")
105
+    @GetMapping("/problemLevelView")
106
+    public AjaxResult problemLevelView(ProblemLevelView notParam) { //notParam不是参数-是返回信息-方便接口联调
107
+//         查询问题表
108
+//        select * from "public"."post_checked_problem";
109
+//        group by problem_level   问题等级(一般、重要)
110
+
111
+        List<ProblemLevelView> list = new ArrayList<>();
112
+        ProblemLevelView data = new ProblemLevelView();
113
+        data.setProblemLeveOne(2);
114
+        data.setProblemLeveTwo(1);
115
+
116
+
117
+        list.add(data);
118
+        return success(list);
119
+    }
120
+
121
+
122
+    @ApiOperation("5-岗检问题属性及类别整改占比")
123
+    @GetMapping("/problemAttributeCategoryView")
124
+    public AjaxResult problemAttributeCategoryView(ProblemAttributeCategoryView notParam) { //notParam不是参数-是返回信息-方便接口联调
125
+//         查询问题表
126
+//        select * from "public"."post_checked_problem";
127
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
128
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
129
+
130
+
131
+        List<ProblemAttributeCategoryView> list = new ArrayList<>();
132
+        ProblemAttributeCategoryView data = new ProblemAttributeCategoryView();
133
+//        data.set完成性
134
+//        data.set适宜性
135
+//        data.set有效性
136
+//        data.set职责权限
137
+//        data.set工作内容
138
+//        data.set工作标准
139
+//        data.set考核奖励
140
+//        data.set任职资格
141
+//        data.set其他
142
+
143
+        list.add(data);
144
+        return success(list);
145
+    }
146
+
147
+
148
+    @ApiOperation("6-历年岗检问题数量")
149
+    @GetMapping("/historyProblemNumberView")
150
+    public AjaxResult historyProblemNumberView(HistoryProblemNumberView notParam) { //notParam不是参数-是返回信息-方便接口联调
151
+//         查询问题表
152
+//        select * from "public"."post_checked_problem";
153
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
154
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
155
+
156
+
157
+        List<HistoryProblemNumberView> list = new ArrayList<>();
158
+        HistoryProblemNumberView data = new HistoryProblemNumberView();
159
+        data.setCheckYear(new Date());
160
+//        data.set问题总数
161
+//        data.set完成性
162
+//        data.set适宜性
163
+//        data.set有效性
164
+//        data.set职责权限
165
+//        data.set工作内容
166
+//        data.set工作标准
167
+//        data.set考核奖励
168
+//        data.set任职资格
169
+//        data.set其他
170
+
171
+        list.add(data);
172
+        return success(list);
173
+    }
174
+
175
+/*
176
+    @ApiOperation("7-部门详情")
177
+    @GetMapping("/deptDetaailView")
178
+    public AjaxResult deptDetaailView() {
179
+//         查询问题表
180
+//        select * from "public"."post_checked_problem";
181
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
182
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
183
+
184
+
185
+        List<DeptDetaailView> list = new ArrayList<>();
186
+
187
+        //TODO 第一步:得到4个职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
188
+        //TODO 第二步:遍历职责类别 -> (总数和已完成数)设置问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
189
+        DeptDetaailView data1 = new DeptDetaailView();
190
+//        data4.setdutyTypeOne //业务职责
191
+        List<DeptDetaailView.ProblemAttributeInner> children1 = new ArrayList<>();
192
+        DeptDetaailView.ProblemAttributeInner child1 = new DeptDetaailView.ProblemAttributeInner();
193
+//        child1.set完整性数量") private Integer problemComplete;
194
+//        child1.set适宜性数量") private Integer problemSuitable;
195
+//        child1.set有效性数量") private Integer problemEffective;
196
+//        child1.set已完成完整性数量") private Integer problemCompleteChecked;
197
+//        child1.set已完成适宜性数量") private Integer problemSuitableChecked;
198
+//        child1.set已完成有效性数量") private Integer problemEffectiveChecked;
199
+        children1.add(child1);
200
+        data1.setChildren(children1);
201
+        list.add(data1);
202
+
203
+        DeptDetaailView data2 = new DeptDetaailView();
204
+//        data4.setdutyTypeTwo 党建及党风廉政
205
+        List<DeptDetaailView.ProblemAttributeInner> children2 = new ArrayList<>();
206
+        DeptDetaailView.ProblemAttributeInner child2 = new DeptDetaailView.ProblemAttributeInner();
207
+//        child2.set完整性数量") private Integer problemComplete;
208
+//        child2.set适宜性数量") private Integer problemSuitable;
209
+//        child2.set有效性数量") private Integer problemEffective;
210
+//        child2.set已完成完整性数量") private Integer problemCompleteChecked;
211
+//        child2.set已完成适宜性数量") private Integer problemSuitableChecked;
212
+//        child2.set已完成有效性数量") private Integer problemEffectiveChecked;
213
+        children1.add(child2);
214
+        data2.setChildren(children2);
215
+        list.add(data2);
216
+
217
+        DeptDetaailView data3 = new DeptDetaailView();
218
+//        data4.setdutyTypeThree 安全环保职责
219
+        List<DeptDetaailView.ProblemAttributeInner> children3 = new ArrayList<>();
220
+        DeptDetaailView.ProblemAttributeInner child3 = new DeptDetaailView.ProblemAttributeInner();
221
+//        child3.set完整性数量") private Integer problemComplete;
222
+//        child3.set适宜性数量") private Integer problemSuitable;
223
+//        child3.set有效性数量") private Integer problemEffective;
224
+//        child3.set已完成完整性数量") private Integer problemCompleteChecked;
225
+//        child3.set已完成适宜性数量") private Integer problemSuitableChecked;
226
+//        child3.set已完成有效性数量") private Integer problemEffectiveChecked;
227
+        children1.add(child3);
228
+        data3.setChildren(children3);
229
+        list.add(data3);
230
+
231
+        DeptDetaailView data4 = new DeptDetaailView();
232
+//        data4.setdutyTypeFour 合规保密职
233
+        List<DeptDetaailView.ProblemAttributeInner> children4 = new ArrayList<>();
234
+        DeptDetaailView.ProblemAttributeInner child4 = new DeptDetaailView.ProblemAttributeInner();
235
+//        child4.set完整性数量") private Integer problemComplete;
236
+//        child4.set适宜性数量") private Integer problemSuitable;
237
+//        child4.set有效性数量") private Integer problemEffective;
238
+//        child4.set已完成完整性数量") private Integer problemCompleteChecked;
239
+//        child4.set已完成适宜性数量") private Integer problemSuitableChecked;
240
+//        child4.set已完成有效性数量") private Integer problemEffectiveChecked;
241
+        children1.add(child4);
242
+        data4.setChildren(children4);
243
+        list.add(data4);
244
+        return success(list);
245
+    }
246
+    */
247
+}

+ 253 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedProductionProblemStatisticsController.java

@@ -0,0 +1,253 @@
1
+package com.ruoyi.postCheck.controller;
2
+
3
+import com.ruoyi.common.core.controller.BaseController;
4
+import com.ruoyi.common.core.domain.AjaxResult;
5
+import com.ruoyi.postCheck.domain.problemStatistics.*;
6
+import com.ruoyi.postCheck.service.IPostCheckedProblemService;
7
+import io.swagger.annotations.Api;
8
+import io.swagger.annotations.ApiOperation;
9
+import org.springframework.beans.factory.annotation.Autowired;
10
+import org.springframework.web.bind.annotation.GetMapping;
11
+import org.springframework.web.bind.annotation.RequestMapping;
12
+import org.springframework.web.bind.annotation.RestController;
13
+
14
+import java.util.ArrayList;
15
+import java.util.Date;
16
+import java.util.List;
17
+
18
+/**
19
+ * 岗检问题表Controller
20
+ *
21
+ * @author csg
22
+ * @date 2023-12-23
23
+ */
24
+@Api(tags = "5.1.2-统计分析-检查统计-问题统计(生产运营)")
25
+@RestController
26
+@RequestMapping("/postCheck/productionProblemStatistics")
27
+public class PostCheckedProductionProblemStatisticsController extends BaseController {
28
+    @Autowired
29
+    private IPostCheckedProblemService postCheckedProblemService;
30
+
31
+
32
+    @ApiOperation("1-职能部各部门问题数量对比")
33
+    @GetMapping("/functionDeptProblemContrast")
34
+    public AjaxResult functionDeptProblemContrast(FunctionDeptProblemContrastView notParam) { //notParam不是参数-是返回信息-方便接口联调
35
+//         查询问题表
36
+//        select * from "public"."post_checked_problem";
37
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
38
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
39
+
40
+        List<FunctionDeptProblemContrastView> list = new ArrayList<>();
41
+        FunctionDeptProblemContrastView data = new FunctionDeptProblemContrastView();
42
+        data.setDeptId(100l);
43
+        data.setDeptName("测试部门1");
44
+        data.setProblemTotal(6);
45
+        data.setProblemComplete(1);
46
+        data.setProblemSuitable(2);
47
+        data.setProblemEffective(3);
48
+
49
+        data.setProblemCategoryOne(1);
50
+        data.setProblemCategoryTwo(1);
51
+        data.setProblemCategoryThree(1);
52
+        data.setProblemCategoryFour(1);
53
+        data.setProblemCategoryFive(1);
54
+        data.setProblemCategorySix(1);
55
+
56
+        list.add(data);
57
+        return success(list);
58
+    }
59
+
60
+
61
+    @ApiOperation("2-岗检覆盖率")
62
+    @GetMapping("/coverageRateView")
63
+    public AjaxResult coverageRateView(CoverageRateView notParam) { //notParam不是参数-是返回信息-方便接口联调
64
+//         查询问题表
65
+//        select * from "public"."post_checked_problem";
66
+//        status = 40    状态:1-待指定整改人(问题录入完成时);2-待填写方案(部门管理员指定整改人后);3-方案填写完成;10-部门审核通过;11-部门审核驳回;20-专业部门人审核(非必填)通过;21-专业部门人审核驳回(非必填);30-整改人待上传实施(整改人上传实施图片);31-上传实施照片完成;40-复查部门人审核通过;41-复查部门人审核驳回
67
+//        is_rectification_completed = 1 整改情况-是否完成(1-Yes;2-No;)
68
+
69
+
70
+        List<CoverageRateView> list = new ArrayList<>();
71
+        CoverageRateView data = new CoverageRateView();
72
+        data.setProblemTotal(6);
73
+        data.setProblemComplete(5);
74
+
75
+        list.add(data);
76
+        return success(list);
77
+    }
78
+
79
+    @ApiOperation("3-岗检问题职责类别占比")
80
+    @GetMapping("/dutyTypeProblemStatisticsView")
81
+    public AjaxResult dutyTypeProblemStatisticsView(DutyTypeProblemStatisticsView notParam) { //notParam不是参数-是返回信息-方便接口联调
82
+//         查询问题表
83
+//        select * from "public"."post_checked_problem";
84
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
85
+
86
+
87
+        List<DutyTypeProblemStatisticsView> list = new ArrayList<>();
88
+        DutyTypeProblemStatisticsView data = new DutyTypeProblemStatisticsView();
89
+        data.setDutyTypeOne(1);
90
+        data.setDutyTypeTwo(2);
91
+        data.setDutyTypeThree(3);
92
+        data.setDutyTypeFour(4);
93
+
94
+        list.add(data);
95
+        return success(list);
96
+    }
97
+
98
+    @ApiOperation("4-岗检问题级别占比")
99
+    @GetMapping("/problemLevelView")
100
+    public AjaxResult problemLevelView(ProblemLevelView notParam) { //notParam不是参数-是返回信息-方便接口联调
101
+//         查询问题表
102
+//        select * from "public"."post_checked_problem";
103
+//        group by problem_level   问题等级(一般、重要)
104
+
105
+        List<ProblemLevelView> list = new ArrayList<>();
106
+        ProblemLevelView data = new ProblemLevelView();
107
+        data.setProblemLeveOne(2);
108
+        data.setProblemLeveTwo(1);
109
+
110
+
111
+        list.add(data);
112
+        return success(list);
113
+    }
114
+
115
+
116
+    @ApiOperation("5-岗检问题属性及类别整改占比")
117
+    @GetMapping("/problemAttributeCategoryView")
118
+    public AjaxResult problemAttributeCategoryView(ProblemAttributeCategoryView notParam) { //notParam不是参数-是返回信息-方便接口联调
119
+//         查询问题表
120
+//        select * from "public"."post_checked_problem";
121
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
122
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
123
+
124
+
125
+        List<ProblemAttributeCategoryView> list = new ArrayList<>();
126
+        ProblemAttributeCategoryView data = new ProblemAttributeCategoryView();
127
+//        data.set完成性
128
+//        data.set适宜性
129
+//        data.set有效性
130
+//        data.set职责权限
131
+//        data.set工作内容
132
+//        data.set工作标准
133
+//        data.set考核奖励
134
+//        data.set任职资格
135
+//        data.set其他
136
+
137
+        list.add(data);
138
+        return success(list);
139
+    }
140
+
141
+
142
+    @ApiOperation("6-历年岗检问题数量")
143
+    @GetMapping("/historyProblemNumberView")
144
+    public AjaxResult historyProblemNumberView(HistoryProblemNumberView notParam) { //notParam不是参数-是返回信息-方便接口联调
145
+//         查询问题表
146
+//        select * from "public"."post_checked_problem";
147
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
148
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
149
+
150
+
151
+        List<HistoryProblemNumberView> list = new ArrayList<>();
152
+        HistoryProblemNumberView data = new HistoryProblemNumberView();
153
+        data.setCheckYear(new Date());
154
+//        data.set问题总数
155
+//        data.set完成性
156
+//        data.set适宜性
157
+//        data.set有效性
158
+//        data.set职责权限
159
+//        data.set工作内容
160
+//        data.set工作标准
161
+//        data.set考核奖励
162
+//        data.set任职资格
163
+//        data.set其他
164
+
165
+        list.add(data);
166
+        return success(list);
167
+    }
168
+
169
+
170
+    @ApiOperation("7-部门详情")
171
+    @GetMapping("/deptDetaailView")
172
+    public AjaxResult deptDetaailView(CheckedProblemDeptDetaailView notParam) { //notParam不是参数-是返回信息-方便接口联调
173
+//         查询问题表
174
+//        select * from "public"."post_checked_problem";
175
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
176
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
177
+
178
+
179
+        List<CheckedProblemDeptDetaailView> list = new ArrayList<>();
180
+
181
+        //TODO 第一步:得到各个部门ID、部门名称、问题总数量、重要问题数量、一般问题数量、统计时间
182
+        //TODO 第二步:得到4个职责类别的问题数量及整改完成数量(1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;)
183
+        //TODO 第三步:设置部门的整改率:遍历职责类别计算整改率
184
+
185
+
186
+
187
+        CheckedProblemDeptDetaailView data1 = new CheckedProblemDeptDetaailView();
188
+//        data1.setdeptId 部门ID
189
+//        data1.setdeptName 部门名称
190
+//        data1.setproblemTotal 问题数量
191
+//        data1.setproblemLeveTwo 重要问题
192
+//        data1.setproblemLeveOne 一般问题
193
+//        data1.setstatisticsTime 统计时间
194
+
195
+        List<CheckedProblemDeptDetaailView.ProblemAttributeInner> children1 = new ArrayList<>();
196
+        CheckedProblemDeptDetaailView.ProblemAttributeInner child1 = new CheckedProblemDeptDetaailView.ProblemAttributeInner();
197
+//        child1.set完整性数量") private Integer problemComplete;
198
+//        child1.set适宜性数量") private Integer problemSuitable;
199
+//        child1.set有效性数量") private Integer problemEffective;
200
+        children1.add(child1);
201
+        data1.setChildren(children1);
202
+        list.add(data1);
203
+
204
+        CheckedProblemDeptDetaailView data2 = new CheckedProblemDeptDetaailView();
205
+//        data2.setdeptId 部门ID
206
+//        data2.setdeptName 部门名称
207
+//        data2.setproblemTotal 问题数量
208
+//        data2.setproblemLeveTwo 重要问题
209
+//        data2.setproblemLeveOne 一般问题
210
+//        data2.setstatisticsTime 统计时间
211
+        List<CheckedProblemDeptDetaailView.ProblemAttributeInner> children2 = new ArrayList<>();
212
+        CheckedProblemDeptDetaailView.ProblemAttributeInner child2 = new CheckedProblemDeptDetaailView.ProblemAttributeInner();
213
+//        child2.set完整性数量") private Integer problemComplete;
214
+//        child2.set适宜性数量") private Integer problemSuitable;
215
+//        child2.set有效性数量") private Integer problemEffective;
216
+        children1.add(child2);
217
+        data2.setChildren(children2);
218
+        list.add(data2);
219
+
220
+        CheckedProblemDeptDetaailView data3 = new CheckedProblemDeptDetaailView();
221
+//        data3.setdeptId 部门ID
222
+//        data3.setdeptName 部门名称
223
+//        data3.setproblemTotal 问题数量
224
+//        data3.setproblemLeveTwo 重要问题
225
+//        data3.setproblemLeveOne 一般问题
226
+//        data3.setstatisticsTime 统计时间
227
+        List<CheckedProblemDeptDetaailView.ProblemAttributeInner> children3 = new ArrayList<>();
228
+        CheckedProblemDeptDetaailView.ProblemAttributeInner child3 = new CheckedProblemDeptDetaailView.ProblemAttributeInner();
229
+//        child3.set完整性数量") private Integer problemComplete;
230
+//        child3.set适宜性数量") private Integer problemSuitable;
231
+//        child3.set有效性数量") private Integer problemEffective;
232
+        children1.add(child3);
233
+        data3.setChildren(children3);
234
+        list.add(data3);
235
+
236
+        CheckedProblemDeptDetaailView data4 = new CheckedProblemDeptDetaailView();
237
+//        data4.setdeptId 部门ID
238
+//        data4.setdeptName 部门名称
239
+//        data4.setproblemTotal 问题数量
240
+//        data4.setproblemLeveTwo 重要问题
241
+//        data4.setproblemLeveOne 一般问题
242
+//        data4.setstatisticsTime 统计时间
243
+        List<CheckedProblemDeptDetaailView.ProblemAttributeInner> children4 = new ArrayList<>();
244
+        CheckedProblemDeptDetaailView.ProblemAttributeInner child4 = new CheckedProblemDeptDetaailView.ProblemAttributeInner();
245
+//        child4.set完整性数量") private Integer problemComplete;
246
+//        child4.set适宜性数量") private Integer problemSuitable;
247
+//        child4.set有效性数量") private Integer problemEffective;
248
+        children1.add(child4);
249
+        data4.setChildren(children4);
250
+        list.add(data4);
251
+        return success(list);
252
+    }
253
+}

+ 259 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedRectificationFunctionProblemStatisticsController.java

@@ -0,0 +1,259 @@
1
+package com.ruoyi.postCheck.controller;
2
+
3
+import com.ruoyi.common.core.controller.BaseController;
4
+import com.ruoyi.common.core.domain.AjaxResult;
5
+import com.ruoyi.postCheck.domain.problemStatistics.*;
6
+import com.ruoyi.postCheck.service.IPostCheckedProblemService;
7
+import io.swagger.annotations.Api;
8
+import io.swagger.annotations.ApiOperation;
9
+import org.springframework.beans.factory.annotation.Autowired;
10
+import org.springframework.web.bind.annotation.GetMapping;
11
+import org.springframework.web.bind.annotation.RequestMapping;
12
+import org.springframework.web.bind.annotation.RestController;
13
+
14
+import java.util.ArrayList;
15
+import java.util.Date;
16
+import java.util.List;
17
+
18
+/**
19
+ * 岗检问题表Controller
20
+ *
21
+ * @author csg
22
+ * @date 2023-12-23
23
+ */
24
+@Api(tags = "5.2.1-统计分析-整改统计-整改统计(职能管理)")
25
+@RestController
26
+@RequestMapping("/postCheck/rectificationFunctionProblemStatistics")
27
+public class PostCheckedRectificationFunctionProblemStatisticsController extends BaseController {
28
+    @Autowired
29
+    private IPostCheckedProblemService postCheckedProblemService;
30
+
31
+
32
+    @ApiOperation("1-职能部各部门问题数量对比")
33
+    @GetMapping("/functionDeptProblemContrast")
34
+    public AjaxResult functionDeptProblemContrast(FunctionDeptProblemContrastView notParam) { //notParam不是参数-是返回信息-方便接口联调
35
+//         查询问题表
36
+//        select * from "public"."post_checked_problem";
37
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
38
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
39
+
40
+        List<FunctionDeptProblemContrastView> list = new ArrayList<>();
41
+        FunctionDeptProblemContrastView data = new FunctionDeptProblemContrastView();
42
+        data.setDeptId(100l);
43
+        data.setDeptName("测试部门1");
44
+        data.setProblemTotal(6);
45
+        data.setProblemComplete(1);
46
+        data.setProblemSuitable(2);
47
+        data.setProblemEffective(3);
48
+
49
+        data.setProblemCategoryOne(1);
50
+        data.setProblemCategoryTwo(1);
51
+        data.setProblemCategoryThree(1);
52
+        data.setProblemCategoryFour(1);
53
+        data.setProblemCategoryFive(1);
54
+        data.setProblemCategorySix(1);
55
+
56
+        list.add(data);
57
+        return success(list);
58
+    }
59
+
60
+
61
+    @ApiOperation("2-岗检覆盖率")
62
+    @GetMapping("/coverageRateView")
63
+    public AjaxResult coverageRateView(CoverageRateView notParam) { //notParam不是参数-是返回信息-方便接口联调
64
+//         查询问题表
65
+//        select * from "public"."post_checked_problem";
66
+//        status = 40    状态:1-待指定整改人(问题录入完成时);2-待填写方案(部门管理员指定整改人后);3-方案填写完成;10-部门审核通过;11-部门审核驳回;20-专业部门人审核(非必填)通过;21-专业部门人审核驳回(非必填);30-整改人待上传实施(整改人上传实施图片);31-上传实施照片完成;40-复查部门人审核通过;41-复查部门人审核驳回
67
+//        is_rectification_completed = 1 整改情况-是否完成(1-Yes;2-No;)
68
+
69
+
70
+        List<CoverageRateView> list = new ArrayList<>();
71
+        CoverageRateView data = new CoverageRateView();
72
+        data.setProblemTotal(6);
73
+        data.setProblemComplete(5);
74
+
75
+        list.add(data);
76
+        return success(list);
77
+    }
78
+
79
+    @ApiOperation("3-岗检问题职责类别占比")
80
+    @GetMapping("/dutyTypeProblemStatisticsView")
81
+    public AjaxResult dutyTypeProblemStatisticsView(DutyTypeProblemStatisticsView notParam) { //notParam不是参数-是返回信息-方便接口联调
82
+//         查询问题表
83
+//        select * from "public"."post_checked_problem";
84
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
85
+
86
+
87
+        List<DutyTypeProblemStatisticsView> list = new ArrayList<>();
88
+        DutyTypeProblemStatisticsView data = new DutyTypeProblemStatisticsView();
89
+        data.setDutyTypeOne(1);
90
+        data.setDutyTypeTwo(2);
91
+        data.setDutyTypeThree(3);
92
+        data.setDutyTypeFour(4);
93
+
94
+        list.add(data);
95
+        return success(list);
96
+    }
97
+
98
+    @ApiOperation("4-岗检问题级别占比")
99
+    @GetMapping("/problemLevelView")
100
+    public AjaxResult problemLevelView(ProblemLevelView notParam) { //notParam不是参数-是返回信息-方便接口联调
101
+//         查询问题表
102
+//        select * from "public"."post_checked_problem";
103
+//        group by problem_level   问题等级(一般、重要)
104
+
105
+        List<ProblemLevelView> list = new ArrayList<>();
106
+        ProblemLevelView data = new ProblemLevelView();
107
+        data.setProblemLeveOne(2);
108
+        data.setProblemLeveTwo(1);
109
+
110
+
111
+        list.add(data);
112
+        return success(list);
113
+    }
114
+
115
+
116
+    @ApiOperation("5-岗检问题属性及类别整改占比")
117
+    @GetMapping("/problemAttributeCategoryView")
118
+    public AjaxResult problemAttributeCategoryView(ProblemAttributeCategoryView notParam) { //notParam不是参数-是返回信息-方便接口联调
119
+//         查询问题表
120
+//        select * from "public"."post_checked_problem";
121
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
122
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
123
+
124
+
125
+        List<ProblemAttributeCategoryView> list = new ArrayList<>();
126
+        ProblemAttributeCategoryView data = new ProblemAttributeCategoryView();
127
+//        data.set完成性
128
+//        data.set适宜性
129
+//        data.set有效性
130
+//        data.set职责权限
131
+//        data.set工作内容
132
+//        data.set工作标准
133
+//        data.set考核奖励
134
+//        data.set任职资格
135
+//        data.set其他
136
+
137
+        list.add(data);
138
+        return success(list);
139
+    }
140
+
141
+
142
+    @ApiOperation("6-历年岗检问题数量")
143
+    @GetMapping("/historyProblemNumberView")
144
+    public AjaxResult historyProblemNumberView(HistoryProblemNumberView notParam) { //notParam不是参数-是返回信息-方便接口联调
145
+//         查询问题表
146
+//        select * from "public"."post_checked_problem";
147
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
148
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
149
+
150
+
151
+        List<HistoryProblemNumberView> list = new ArrayList<>();
152
+        HistoryProblemNumberView data = new HistoryProblemNumberView();
153
+        data.setCheckYear(new Date());
154
+//        data.set问题总数
155
+//        data.set完成性
156
+//        data.set适宜性
157
+//        data.set有效性
158
+//        data.set职责权限
159
+//        data.set工作内容
160
+//        data.set工作标准
161
+//        data.set考核奖励
162
+//        data.set任职资格
163
+//        data.set其他
164
+
165
+        list.add(data);
166
+        return success(list);
167
+    }
168
+
169
+
170
+    @ApiOperation("7-部门详情")
171
+    @GetMapping("/deptDetaailView")
172
+    public AjaxResult deptDetaailView(DeptDetaailView notParam) { //notParam不是参数-是返回信息-方便接口联调
173
+//         查询问题表
174
+//        select * from "public"."post_checked_problem";
175
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
176
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
177
+
178
+
179
+        List<DeptDetaailView> list = new ArrayList<>();
180
+
181
+        //TODO 第一步:得到各个部门ID和部门名称及统计时间
182
+        //TODO 第二步:得到4个职责类别的问题数量及整改完成数量(1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;)
183
+        //TODO 第三步:设置部门的整改率:遍历职责类别计算整改率
184
+
185
+        DeptDetaailView data1 = new DeptDetaailView();
186
+//        data1.setdeptId 部门ID
187
+//        data1.setdeptName 部门名称
188
+//        data1.setproblemRectificationRate 整改率
189
+//        data1.setstatisticsTime 统计时间
190
+
191
+        List<DeptDetaailView.ProblemAttributeInner> children1 = new ArrayList<>();
192
+        DeptDetaailView.ProblemAttributeInner child1 = new DeptDetaailView.ProblemAttributeInner();
193
+//        child1.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
194
+//        child1.set完整性数量 private Integer problemComplete;
195
+//        child1.set适宜性数量 private Integer problemSuitable;
196
+//        child1.set有效性数量 private Integer problemEffective;
197
+//        child1.set已完成完整性数量 private Integer problemCompleteChecked;
198
+//        child1.set已完成适宜性数量 private Integer problemSuitableChecked;
199
+//        child1.set已完成有效性数量 private Integer problemEffectiveChecked;
200
+        children1.add(child1);
201
+        data1.setChildren(children1);
202
+        list.add(data1);
203
+
204
+        DeptDetaailView data2 = new DeptDetaailView();
205
+//        data2.setdeptId 部门ID
206
+//        data2.setdeptName 部门名称
207
+//        data2.setproblemRectificationRate 整改率
208
+//        data2.setstatisticsTime 统计时间
209
+        List<DeptDetaailView.ProblemAttributeInner> children2 = new ArrayList<>();
210
+        DeptDetaailView.ProblemAttributeInner child2 = new DeptDetaailView.ProblemAttributeInner();
211
+//        child2.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
212
+//        child2.set完整性数量  private Integer problemComplete;
213
+//        child2.set适宜性数量  private Integer problemSuitable;
214
+//        child2.set有效性数量  private Integer problemEffective;
215
+//        child2.set已完成完整性数量 private Integer problemCompleteChecked;
216
+//        child2.set已完成适宜性数量 private Integer problemSuitableChecked;
217
+//        child2.set已完成有效性数量 private Integer problemEffectiveChecked;
218
+        children1.add(child2);
219
+        data2.setChildren(children2);
220
+        list.add(data2);
221
+
222
+        DeptDetaailView data3 = new DeptDetaailView();
223
+//        data3.setdeptId 部门ID
224
+//        data3.setdeptName 部门名称
225
+//        data3.setproblemRectificationRate 整改率
226
+//        data3.setstatisticsTime 统计时间
227
+        List<DeptDetaailView.ProblemAttributeInner> children3 = new ArrayList<>();
228
+        DeptDetaailView.ProblemAttributeInner child3 = new DeptDetaailView.ProblemAttributeInner();
229
+//        child3.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
230
+//        child3.set完整性数量  private Integer problemComplete;
231
+//        child3.set适宜性数量  private Integer problemSuitable;
232
+//        child3.set有效性数量  private Integer problemEffective;
233
+//        child3.set已完成完整性数量 private Integer problemCompleteChecked;
234
+//        child3.set已完成适宜性数量 private Integer problemSuitableChecked;
235
+//        child3.set已完成有效性数量 private Integer problemEffectiveChecked;
236
+        children1.add(child3);
237
+        data3.setChildren(children3);
238
+        list.add(data3);
239
+
240
+        DeptDetaailView data4 = new DeptDetaailView();
241
+//        data4.setdeptId 部门ID
242
+//        data4.setdeptName 部门名称
243
+//        data4.setproblemRectificationRate 整改率
244
+//        data4.setstatisticsTime 统计时间
245
+        List<DeptDetaailView.ProblemAttributeInner> children4 = new ArrayList<>();
246
+        DeptDetaailView.ProblemAttributeInner child4 = new DeptDetaailView.ProblemAttributeInner();
247
+//        child4.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
248
+//        child4.set完整性数量 private Integer problemComplete;
249
+//        child4.set适宜性数量 private Integer problemSuitable;
250
+//        child4.set有效性数量 private Integer problemEffective;
251
+//        child4.set已完成完整性数量 private Integer problemCompleteChecked;
252
+//        child4.set已完成适宜性数量 private Integer problemSuitableChecked;
253
+//        child4.set已完成有效性数量 private Integer problemEffectiveChecked;
254
+        children1.add(child4);
255
+        data4.setChildren(children4);
256
+        list.add(data4);
257
+        return success(list);
258
+    }
259
+}

+ 259 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedRectificationProductionProblemStatisticsController.java

@@ -0,0 +1,259 @@
1
+package com.ruoyi.postCheck.controller;
2
+
3
+import com.ruoyi.common.core.controller.BaseController;
4
+import com.ruoyi.common.core.domain.AjaxResult;
5
+import com.ruoyi.postCheck.domain.problemStatistics.*;
6
+import com.ruoyi.postCheck.service.IPostCheckedProblemService;
7
+import io.swagger.annotations.Api;
8
+import io.swagger.annotations.ApiOperation;
9
+import org.springframework.beans.factory.annotation.Autowired;
10
+import org.springframework.web.bind.annotation.GetMapping;
11
+import org.springframework.web.bind.annotation.RequestMapping;
12
+import org.springframework.web.bind.annotation.RestController;
13
+
14
+import java.util.ArrayList;
15
+import java.util.Date;
16
+import java.util.List;
17
+
18
+/**
19
+ * 岗检问题表Controller
20
+ *
21
+ * @author csg
22
+ * @date 2023-12-23
23
+ */
24
+@Api(tags = "5.2.2-统计分析-整改统计-整改统计(生产运营)")
25
+@RestController
26
+@RequestMapping("/postCheck/rectificationProductionProblemStatistics")
27
+public class PostCheckedRectificationProductionProblemStatisticsController extends BaseController {
28
+    @Autowired
29
+    private IPostCheckedProblemService postCheckedProblemService;
30
+
31
+
32
+    @ApiOperation("1-职能部各部门问题数量对比")
33
+    @GetMapping("/functionDeptProblemContrast")
34
+    public AjaxResult functionDeptProblemContrast(FunctionDeptProblemContrastView notParam) { //notParam不是参数-是返回信息-方便接口联调
35
+//         查询问题表
36
+//        select * from "public"."post_checked_problem";
37
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
38
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
39
+
40
+        List<FunctionDeptProblemContrastView> list = new ArrayList<>();
41
+        FunctionDeptProblemContrastView data = new FunctionDeptProblemContrastView();
42
+        data.setDeptId(100l);
43
+        data.setDeptName("测试部门1");
44
+        data.setProblemTotal(6);
45
+        data.setProblemComplete(1);
46
+        data.setProblemSuitable(2);
47
+        data.setProblemEffective(3);
48
+
49
+        data.setProblemCategoryOne(1);
50
+        data.setProblemCategoryTwo(1);
51
+        data.setProblemCategoryThree(1);
52
+        data.setProblemCategoryFour(1);
53
+        data.setProblemCategoryFive(1);
54
+        data.setProblemCategorySix(1);
55
+
56
+        list.add(data);
57
+        return success(list);
58
+    }
59
+
60
+
61
+    @ApiOperation("2-岗检覆盖率")
62
+    @GetMapping("/coverageRateView")
63
+    public AjaxResult coverageRateView(CoverageRateView notParam) { //notParam不是参数-是返回信息-方便接口联调
64
+//         查询问题表
65
+//        select * from "public"."post_checked_problem";
66
+//        status = 40    状态:1-待指定整改人(问题录入完成时);2-待填写方案(部门管理员指定整改人后);3-方案填写完成;10-部门审核通过;11-部门审核驳回;20-专业部门人审核(非必填)通过;21-专业部门人审核驳回(非必填);30-整改人待上传实施(整改人上传实施图片);31-上传实施照片完成;40-复查部门人审核通过;41-复查部门人审核驳回
67
+//        is_rectification_completed = 1 整改情况-是否完成(1-Yes;2-No;)
68
+
69
+
70
+        List<CoverageRateView> list = new ArrayList<>();
71
+        CoverageRateView data = new CoverageRateView();
72
+        data.setProblemTotal(6);
73
+        data.setProblemComplete(5);
74
+
75
+        list.add(data);
76
+        return success(list);
77
+    }
78
+
79
+    @ApiOperation("3-岗检问题职责类别占比")
80
+    @GetMapping("/dutyTypeProblemStatisticsView")
81
+    public AjaxResult dutyTypeProblemStatisticsView(DutyTypeProblemStatisticsView notParam) { //notParam不是参数-是返回信息-方便接口联调
82
+//         查询问题表
83
+//        select * from "public"."post_checked_problem";
84
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
85
+
86
+
87
+        List<DutyTypeProblemStatisticsView> list = new ArrayList<>();
88
+        DutyTypeProblemStatisticsView data = new DutyTypeProblemStatisticsView();
89
+        data.setDutyTypeOne(1);
90
+        data.setDutyTypeTwo(2);
91
+        data.setDutyTypeThree(3);
92
+        data.setDutyTypeFour(4);
93
+
94
+        list.add(data);
95
+        return success(list);
96
+    }
97
+
98
+    @ApiOperation("4-岗检问题级别占比")
99
+    @GetMapping("/problemLevelView")
100
+    public AjaxResult problemLevelView(ProblemLevelView notParam) { //notParam不是参数-是返回信息-方便接口联调
101
+//         查询问题表
102
+//        select * from "public"."post_checked_problem";
103
+//        group by problem_level   问题等级(一般、重要)
104
+
105
+        List<ProblemLevelView> list = new ArrayList<>();
106
+        ProblemLevelView data = new ProblemLevelView();
107
+        data.setProblemLeveOne(2);
108
+        data.setProblemLeveTwo(1);
109
+
110
+
111
+        list.add(data);
112
+        return success(list);
113
+    }
114
+
115
+
116
+    @ApiOperation("5-岗检问题属性及类别整改占比")
117
+    @GetMapping("/problemAttributeCategoryView")
118
+    public AjaxResult problemAttributeCategoryView(ProblemAttributeCategoryView notParam) { //notParam不是参数-是返回信息-方便接口联调
119
+//         查询问题表
120
+//        select * from "public"."post_checked_problem";
121
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
122
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
123
+
124
+
125
+        List<ProblemAttributeCategoryView> list = new ArrayList<>();
126
+        ProblemAttributeCategoryView data = new ProblemAttributeCategoryView();
127
+//        data.set完成性
128
+//        data.set适宜性
129
+//        data.set有效性
130
+//        data.set职责权限
131
+//        data.set工作内容
132
+//        data.set工作标准
133
+//        data.set考核奖励
134
+//        data.set任职资格
135
+//        data.set其他
136
+
137
+        list.add(data);
138
+        return success(list);
139
+    }
140
+
141
+
142
+    @ApiOperation("6-历年岗检问题数量")
143
+    @GetMapping("/historyProblemNumberView")
144
+    public AjaxResult historyProblemNumberView(HistoryProblemNumberView notParam) { //notParam不是参数-是返回信息-方便接口联调
145
+//         查询问题表
146
+//        select * from "public"."post_checked_problem";
147
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
148
+//        GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
149
+
150
+
151
+        List<HistoryProblemNumberView> list = new ArrayList<>();
152
+        HistoryProblemNumberView data = new HistoryProblemNumberView();
153
+        data.setCheckYear(new Date());
154
+//        data.set问题总数
155
+//        data.set完成性
156
+//        data.set适宜性
157
+//        data.set有效性
158
+//        data.set职责权限
159
+//        data.set工作内容
160
+//        data.set工作标准
161
+//        data.set考核奖励
162
+//        data.set任职资格
163
+//        data.set其他
164
+
165
+        list.add(data);
166
+        return success(list);
167
+    }
168
+
169
+
170
+    @ApiOperation("7-部门详情")
171
+    @GetMapping("/deptDetaailView")
172
+    public AjaxResult deptDetaailView(DeptDetaailView notParam) { //notParam不是参数-是返回信息-方便接口联调
173
+//         查询问题表
174
+//        select * from "public"."post_checked_problem";
175
+//        group by duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
176
+//        GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
177
+
178
+
179
+        List<DeptDetaailView> list = new ArrayList<>();
180
+
181
+        //TODO 第一步:得到各个部门ID和部门名称及统计时间
182
+        //TODO 第二步:得到4个职责类别的问题数量及整改完成数量(1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;)
183
+        //TODO 第三步:设置部门的整改率:遍历职责类别计算整改率
184
+
185
+        DeptDetaailView data1 = new DeptDetaailView();
186
+//        data1.setdeptId 部门ID
187
+//        data1.setdeptName 部门名称
188
+//        data1.setproblemRectificationRate 整改率
189
+//        data1.setstatisticsTime 统计时间
190
+
191
+        List<DeptDetaailView.ProblemAttributeInner> children1 = new ArrayList<>();
192
+        DeptDetaailView.ProblemAttributeInner child1 = new DeptDetaailView.ProblemAttributeInner();
193
+//        child1.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
194
+//        child1.set完整性数量 private Integer problemComplete;
195
+//        child1.set适宜性数量 private Integer problemSuitable;
196
+//        child1.set有效性数量 private Integer problemEffective;
197
+//        child1.set已完成完整性数量 private Integer problemCompleteChecked;
198
+//        child1.set已完成适宜性数量 private Integer problemSuitableChecked;
199
+//        child1.set已完成有效性数量 private Integer problemEffectiveChecked;
200
+        children1.add(child1);
201
+        data1.setChildren(children1);
202
+        list.add(data1);
203
+
204
+        DeptDetaailView data2 = new DeptDetaailView();
205
+//        data2.setdeptId 部门ID
206
+//        data2.setdeptName 部门名称
207
+//        data2.setproblemRectificationRate 整改率
208
+//        data2.setstatisticsTime 统计时间
209
+        List<DeptDetaailView.ProblemAttributeInner> children2 = new ArrayList<>();
210
+        DeptDetaailView.ProblemAttributeInner child2 = new DeptDetaailView.ProblemAttributeInner();
211
+//        child2.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
212
+//        child2.set完整性数量  private Integer problemComplete;
213
+//        child2.set适宜性数量  private Integer problemSuitable;
214
+//        child2.set有效性数量  private Integer problemEffective;
215
+//        child2.set已完成完整性数量 private Integer problemCompleteChecked;
216
+//        child2.set已完成适宜性数量 private Integer problemSuitableChecked;
217
+//        child2.set已完成有效性数量 private Integer problemEffectiveChecked;
218
+        children1.add(child2);
219
+        data2.setChildren(children2);
220
+        list.add(data2);
221
+
222
+        DeptDetaailView data3 = new DeptDetaailView();
223
+//        data3.setdeptId 部门ID
224
+//        data3.setdeptName 部门名称
225
+//        data3.setproblemRectificationRate 整改率
226
+//        data3.setstatisticsTime 统计时间
227
+        List<DeptDetaailView.ProblemAttributeInner> children3 = new ArrayList<>();
228
+        DeptDetaailView.ProblemAttributeInner child3 = new DeptDetaailView.ProblemAttributeInner();
229
+//        child3.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
230
+//        child3.set完整性数量  private Integer problemComplete;
231
+//        child3.set适宜性数量  private Integer problemSuitable;
232
+//        child3.set有效性数量  private Integer problemEffective;
233
+//        child3.set已完成完整性数量 private Integer problemCompleteChecked;
234
+//        child3.set已完成适宜性数量 private Integer problemSuitableChecked;
235
+//        child3.set已完成有效性数量 private Integer problemEffectiveChecked;
236
+        children1.add(child3);
237
+        data3.setChildren(children3);
238
+        list.add(data3);
239
+
240
+        DeptDetaailView data4 = new DeptDetaailView();
241
+//        data4.setdeptId 部门ID
242
+//        data4.setdeptName 部门名称
243
+//        data4.setproblemRectificationRate 整改率
244
+//        data4.setstatisticsTime 统计时间
245
+        List<DeptDetaailView.ProblemAttributeInner> children4 = new ArrayList<>();
246
+        DeptDetaailView.ProblemAttributeInner child4 = new DeptDetaailView.ProblemAttributeInner();
247
+//        child4.set业务职责字典值 private Integer dutyType; 业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;
248
+//        child4.set完整性数量 private Integer problemComplete;
249
+//        child4.set适宜性数量 private Integer problemSuitable;
250
+//        child4.set有效性数量 private Integer problemEffective;
251
+//        child4.set已完成完整性数量 private Integer problemCompleteChecked;
252
+//        child4.set已完成适宜性数量 private Integer problemSuitableChecked;
253
+//        child4.set已完成有效性数量 private Integer problemEffectiveChecked;
254
+        children1.add(child4);
255
+        data4.setChildren(children4);
256
+        list.add(data4);
257
+        return success(list);
258
+    }
259
+}

+ 99 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/CheckedProblemDeptDetaailView.java

@@ -0,0 +1,99 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+import java.math.BigDecimal;
10
+import java.util.ArrayList;
11
+import java.util.Date;
12
+import java.util.List;
13
+
14
+@EqualsAndHashCode
15
+@Data
16
+@ApiModel(value = "统计分析-部门详情(职能管理)")
17
+//extends DutyTypeProblemStatisticsView
18
+public class CheckedProblemDeptDetaailView extends  ProblemLevelView implements Serializable {
19
+
20
+    private static final long serialVersionUID = 5666890687691604123L;
21
+    @ApiModelProperty("部门ID")
22
+    private Long deptId;
23
+    @ApiModelProperty("部门名称")
24
+    private String deptName;
25
+
26
+
27
+    @ApiModelProperty("总数量")
28
+    private Integer problemTotal;
29
+
30
+//    @ApiModelProperty("一般")
31
+//    private Integer problemLeveOne;
32
+
33
+//    @ApiModelProperty("重要")
34
+//    private Integer problemLeveTwo;
35
+
36
+
37
+    @ApiModelProperty("统计时间")
38
+    private Date statisticsTime;
39
+
40
+    @ApiModelProperty("duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
41
+    private List<ProblemAttributeInner> children = new ArrayList<>();
42
+
43
+
44
+    /**
45
+     * 按业务职责归类存放问题整改的情况
46
+     */
47
+//            extends ProblemNumberBase {
48
+    public static class ProblemAttributeInner implements Serializable {
49
+
50
+        private static final long serialVersionUID = 3140695152506065277L;
51
+
52
+        @ApiModelProperty("业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
53
+        private Integer dutyType;
54
+
55
+
56
+        @ApiModelProperty("完整性数量")
57
+        private Integer problemComplete;
58
+        @ApiModelProperty("适宜性数量")
59
+        private Integer problemSuitable;
60
+        @ApiModelProperty("有效性数量")
61
+        private Integer problemEffective;
62
+
63
+        @ApiModelProperty("已完成完整性数量")
64
+        private Integer problemCompleteChecked;
65
+        @ApiModelProperty("已完成适宜性数量")
66
+        private Integer problemSuitableChecked;
67
+        @ApiModelProperty("已完成有效性数量")
68
+        private Integer problemEffectiveChecked;
69
+
70
+    }
71
+
72
+
73
+/**
74
+ * 业务职责类型
75
+ */
76
+//    public static class ProblemDutyType {
77
+//        @ApiModelProperty("业务职责字典值:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
78
+//        private Integer dutyType;
79
+//
80
+//        @ApiModelProperty("业务职责字典值显示名称(后台可以不设置值,让前端做):duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
81
+//        private Integer dutyView;
82
+//
83
+//
84
+//        /**
85
+//         * @ApiModelProperty("完整性数量") private Integer problemComplete;
86
+//         * @ApiModelProperty("适宜性数量") private Integer problemSuitable;
87
+//         * @ApiModelProperty("有效性数量") private Integer problemEffective;
88
+//         * @ApiModelProperty("已完成完整性数量") private Integer problemCompleteChecked;
89
+//         * @ApiModelProperty("已完成适宜性数量") private Integer problemSuitableChecked;
90
+//         * @ApiModelProperty("已完成有效性数量") private Integer problemEffectiveChecked;
91
+//         */
92
+//        @ApiModelProperty("problem_attribute 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)")
93
+//        private List<DutyTypeProblemStatisticsView.ProblemAttributeInner> children = new ArrayList<>();
94
+//
95
+//
96
+//    }
97
+
98
+
99
+}

+ 25 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/CoverageRateView.java

@@ -0,0 +1,25 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+
10
+@EqualsAndHashCode
11
+@Data
12
+@ApiModel(value = "统计分析-岗检覆盖率(职能管理)")
13
+public class CoverageRateView implements Serializable {
14
+
15
+
16
+    private static final long serialVersionUID = 84061080800486249L;
17
+
18
+    @ApiModelProperty("总数量")
19
+    private Integer problemTotal;
20
+
21
+    @ApiModelProperty("问题整改数")
22
+    private Integer problemComplete;
23
+
24
+
25
+}

+ 90 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/DeptDetaailView.java

@@ -0,0 +1,90 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+import java.math.BigDecimal;
10
+import java.util.ArrayList;
11
+import java.util.Date;
12
+import java.util.List;
13
+
14
+@EqualsAndHashCode
15
+@Data
16
+@ApiModel(value = "统计分析-检查统计-问题统计(生产运用)-部门详情")
17
+//extends DutyTypeProblemStatisticsView
18
+public class DeptDetaailView implements Serializable {
19
+
20
+    private static final long serialVersionUID = 5666890687691604123L;
21
+    @ApiModelProperty("部门ID")
22
+    private Long deptId;
23
+    @ApiModelProperty("部门名称")
24
+    private String deptName;
25
+
26
+    @ApiModelProperty("整改率")
27
+    private BigDecimal problemRectificationRate;
28
+    @ApiModelProperty("统计时间")
29
+    private Date statisticsTime;
30
+
31
+    @ApiModelProperty("duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
32
+    private List<ProblemAttributeInner> children = new ArrayList<>();
33
+
34
+
35
+    /**
36
+     * 按业务职责归类存放问题整改的情况
37
+     */
38
+//            extends ProblemNumberBase {
39
+    public static class ProblemAttributeInner implements Serializable {
40
+
41
+        private static final long serialVersionUID = 3140695152506065277L;
42
+
43
+        @ApiModelProperty("业务职责字典值-前端自己显示中文名称:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
44
+        private Integer dutyType;
45
+
46
+
47
+        @ApiModelProperty("完整性数量")
48
+        private Integer problemComplete;
49
+        @ApiModelProperty("适宜性数量")
50
+        private Integer problemSuitable;
51
+        @ApiModelProperty("有效性数量")
52
+        private Integer problemEffective;
53
+
54
+        @ApiModelProperty("已完成完整性数量")
55
+        private Integer problemCompleteChecked;
56
+        @ApiModelProperty("已完成适宜性数量")
57
+        private Integer problemSuitableChecked;
58
+        @ApiModelProperty("已完成有效性数量")
59
+        private Integer problemEffectiveChecked;
60
+
61
+    }
62
+
63
+
64
+/**
65
+ * 业务职责类型
66
+ */
67
+//    public static class ProblemDutyType {
68
+//        @ApiModelProperty("业务职责字典值:duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
69
+//        private Integer dutyType;
70
+//
71
+//        @ApiModelProperty("业务职责字典值显示名称(后台可以不设置值,让前端做):duty_type 职责类别:1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;")
72
+//        private Integer dutyView;
73
+//
74
+//
75
+//        /**
76
+//         * @ApiModelProperty("完整性数量") private Integer problemComplete;
77
+//         * @ApiModelProperty("适宜性数量") private Integer problemSuitable;
78
+//         * @ApiModelProperty("有效性数量") private Integer problemEffective;
79
+//         * @ApiModelProperty("已完成完整性数量") private Integer problemCompleteChecked;
80
+//         * @ApiModelProperty("已完成适宜性数量") private Integer problemSuitableChecked;
81
+//         * @ApiModelProperty("已完成有效性数量") private Integer problemEffectiveChecked;
82
+//         */
83
+//        @ApiModelProperty("problem_attribute 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)")
84
+//        private List<DutyTypeProblemStatisticsView.ProblemAttributeInner> children = new ArrayList<>();
85
+//
86
+//
87
+//    }
88
+
89
+
90
+}

+ 54 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/DutyTypeProblemStatisticsView.java

@@ -0,0 +1,54 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+import java.util.ArrayList;
10
+import java.util.List;
11
+
12
+@EqualsAndHashCode
13
+@Data
14
+@ApiModel(value = "统计分析-岗检问题职责类别占比(职能管理)")
15
+public class DutyTypeProblemStatisticsView implements Serializable {
16
+
17
+
18
+    private static final long serialVersionUID = -6982314157222524166L;
19
+    @ApiModelProperty("业务职责")
20
+    private Integer dutyTypeOne;
21
+
22
+    @ApiModelProperty("党建及党风廉政")
23
+    private Integer dutyTypeTwo;
24
+
25
+    @ApiModelProperty("安全环保职责")
26
+    private Integer dutyTypeThree;
27
+
28
+    @ApiModelProperty("合规保密职")
29
+    private Integer dutyTypeFour;
30
+
31
+    /**
32
+     * @ApiModelProperty("完整性数量") private Integer problemComplete;
33
+     * @ApiModelProperty("适宜性数量") private Integer problemSuitable;
34
+     * @ApiModelProperty("有效性数量") private Integer problemEffective;
35
+     * @ApiModelProperty("已完成完整性数量") private Integer problemCompleteChecked;
36
+     * @ApiModelProperty("已完成适宜性数量") private Integer problemSuitableChecked;
37
+     * @ApiModelProperty("已完成有效性数量") private Integer problemEffectiveChecked;
38
+     */
39
+    @ApiModelProperty("problem_attribute 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)")
40
+    private List<ProblemAttributeInner> children = new ArrayList<>();
41
+
42
+    public static class ProblemAttributeInner extends ProblemNumberBase {
43
+
44
+        private static final long serialVersionUID = -5709957331615760177L;
45
+        @ApiModelProperty("已完成完整性数量")
46
+        private Integer problemCompleteChecked;
47
+        @ApiModelProperty("已完成适宜性数量")
48
+        private Integer problemSuitableChecked;
49
+        @ApiModelProperty("已完成有效性数量")
50
+        private Integer problemEffectiveChecked;
51
+
52
+    }
53
+
54
+}

+ 25 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/FunctionDeptProblemContrastView.java

@@ -0,0 +1,25 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+
10
+@EqualsAndHashCode
11
+@Data
12
+@ApiModel(value = "统计分析-职能部各部门问题数量对比(职能管理)")
13
+public class FunctionDeptProblemContrastView extends ProblemNumberBase{
14
+
15
+
16
+    private static final long serialVersionUID = -757039503238827630L;
17
+    @ApiModelProperty("部门ID")
18
+    private Long deptId;
19
+
20
+    @ApiModelProperty("部门名称")
21
+    private String deptName;
22
+
23
+
24
+
25
+}

+ 19 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/HistoryProblemNumberView.java

@@ -0,0 +1,19 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.util.Date;
9
+
10
+@EqualsAndHashCode
11
+@Data
12
+@ApiModel(value = "统计分析-历年岗检问题数量(职能管理)")
13
+public class HistoryProblemNumberView extends ProblemNumberBase{
14
+
15
+
16
+    private static final long serialVersionUID = -7993733278042449361L;
17
+    @ApiModelProperty("年份")
18
+    private Date checkYear;
19
+}

+ 15 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/ProblemAttributeCategoryView.java

@@ -0,0 +1,15 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+
10
+@EqualsAndHashCode
11
+@Data
12
+@ApiModel(value = "统计分析-岗检问题属性及类别整改占比(职能管理)")
13
+public class ProblemAttributeCategoryView extends ProblemNumberBase {
14
+    private static final long serialVersionUID = -5776997032261242866L;
15
+}

+ 29 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/ProblemLevelView.java

@@ -0,0 +1,29 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+import java.util.Date;
10
+
11
+@EqualsAndHashCode
12
+@Data
13
+@ApiModel(value = "统计分析-岗检问题职责类别占比(职能管理)")
14
+public class ProblemLevelView implements Serializable {
15
+
16
+
17
+    private static final long serialVersionUID = -6982314157222524166L;
18
+
19
+    @ApiModelProperty("一般")
20
+    private Integer problemLeveOne;
21
+
22
+    @ApiModelProperty("重要")
23
+    private Integer problemLeveTwo;
24
+
25
+
26
+
27
+
28
+
29
+}

+ 46 - 0
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/problemStatistics/ProblemNumberBase.java

@@ -0,0 +1,46 @@
1
+package com.ruoyi.postCheck.domain.problemStatistics;
2
+
3
+import io.swagger.annotations.ApiModel;
4
+import io.swagger.annotations.ApiModelProperty;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+
8
+import java.io.Serializable;
9
+
10
+@EqualsAndHashCode
11
+@Data
12
+@ApiModel(value = "统计分析-问题属性&问题类别")
13
+public class ProblemNumberBase implements Serializable {
14
+
15
+    private static final long serialVersionUID = 796035754641326823L;
16
+
17
+
18
+    @ApiModelProperty("总数量")
19
+    private Integer problemTotal;
20
+
21
+
22
+    @ApiModelProperty("完整性数量")
23
+    private Integer problemComplete;
24
+    @ApiModelProperty("适宜性数量")
25
+    private Integer problemSuitable;
26
+    @ApiModelProperty("有效性数量")
27
+    private Integer problemEffective;
28
+
29
+
30
+    @ApiModelProperty("职责权限问题")
31
+    private Integer problemCategoryOne;
32
+    @ApiModelProperty("工作内容问题")
33
+    private Integer problemCategoryTwo;
34
+    @ApiModelProperty("工作标准问题")
35
+    private Integer problemCategoryThree;
36
+    @ApiModelProperty("考核奖励问题")
37
+    private Integer problemCategoryFour;
38
+    @ApiModelProperty("任职资格问题")
39
+    private Integer problemCategoryFive;
40
+    @ApiModelProperty("其他")
41
+    private Integer problemCategorySix;
42
+
43
+//==================================================
44
+
45
+
46
+}