|
@@ -28,10 +28,8 @@ public class RPaperAnalyzeController {
|
28
|
28
|
//作业试题统计
|
29
|
29
|
@PostMapping("/pnum")
|
30
|
30
|
public ResultVo getResourceQuestionNum(@RequestBody RegionParam param){
|
31
|
|
- Integer begintime = param.getBegintime();
|
32
|
|
- Integer endtime = param.getEndtime();
|
33
|
31
|
Integer level = param.getLevel();
|
34
|
|
- N_Utils.validation(new Object[]{level,"学段",1,begintime,"开始时间",1,endtime,"结束时间",1});
|
|
32
|
+ N_Utils.validation(new Object[]{level,"学段",1});
|
35
|
33
|
Map map = rPaperAnalyzeService.getRegionPaperNum(param);
|
36
|
34
|
return new ResultVo(0,"获取作业数量统计成功",map);
|
37
|
35
|
}
|
|
@@ -39,10 +37,8 @@ public class RPaperAnalyzeController {
|
39
|
37
|
//作业率统计--作业
|
40
|
38
|
@PostMapping("/ratep")
|
41
|
39
|
public ResultVo listRegionSchoolRatePaper(@RequestBody RegionParam param){
|
42
|
|
- Integer begintime = param.getBegintime();
|
43
|
|
- Integer endtime = param.getEndtime();
|
44
|
40
|
Integer level = param.getLevel();
|
45
|
|
- N_Utils.validation(new Object[]{level,"学段",1,begintime,"开始时间",1,endtime,"结束时间",1});
|
|
41
|
+ N_Utils.validation(new Object[]{level,"学段",1});
|
46
|
42
|
Map map = rPaperAnalyzeService.listRegionSchoolRatePaper(param);
|
47
|
43
|
return new ResultVo(0,"获取作业率统计成功",map);
|
48
|
44
|
}
|
|
@@ -50,10 +46,8 @@ public class RPaperAnalyzeController {
|
50
|
46
|
//作业率统计--背诵
|
51
|
47
|
@PostMapping("/rater")
|
52
|
48
|
public ResultVo listRegionSchoolRateRecite(@RequestBody RegionParam param){
|
53
|
|
- Integer begintime = param.getBegintime();
|
54
|
|
- Integer endtime = param.getEndtime();
|
55
|
49
|
Integer level = param.getLevel();
|
56
|
|
- N_Utils.validation(new Object[]{level,"学段",1,begintime,"开始时间",1,endtime,"结束时间",1});
|
|
50
|
+ N_Utils.validation(new Object[]{level,"学段",1});
|
57
|
51
|
Map map = rPaperAnalyzeService.listRegionSchoolRateRecite(param);
|
58
|
52
|
return new ResultVo(0,"获取背诵率统计成功",map);
|
59
|
53
|
}
|
|
@@ -61,10 +55,8 @@ public class RPaperAnalyzeController {
|
61
|
55
|
//作业率统计--预习率
|
62
|
56
|
@PostMapping("/ratepre")
|
63
|
57
|
public ResultVo getRegionSchoolRatePreview(@RequestBody RegionParam param){
|
64
|
|
- Integer begintime = param.getBegintime();
|
65
|
|
- Integer endtime = param.getEndtime();
|
66
|
58
|
Integer level = param.getLevel();
|
67
|
|
- N_Utils.validation(new Object[]{level,"学段",1,begintime,"开始时间",1,endtime,"结束时间",1});
|
|
59
|
+ N_Utils.validation(new Object[]{level,"学段",1});
|
68
|
60
|
Map map = rPaperAnalyzeService.getRegionSchoolRatePreview(param);
|
69
|
61
|
return new ResultVo(0,"获取预习率统计成功",map);
|
70
|
62
|
}
|
|
@@ -72,20 +64,16 @@ public class RPaperAnalyzeController {
|
72
|
64
|
//人均作业用时
|
73
|
65
|
@PostMapping("/avgp")
|
74
|
66
|
public ResultVo listRegionSchoolUsetimePaper(@RequestBody RegionParam param){
|
75
|
|
- Integer begintime = param.getBegintime();
|
76
|
|
- Integer endtime = param.getEndtime();
|
77
|
67
|
Integer level = param.getLevel();
|
78
|
|
- N_Utils.validation(new Object[]{level,"学段",1,begintime,"开始时间",1,endtime,"结束时间",1});
|
|
68
|
+ N_Utils.validation(new Object[]{level,"学段",1});
|
79
|
69
|
List<Map> lst= rPaperAnalyzeService.listRegionSchoolUsetimePaper(param);
|
80
|
70
|
return new ResultVo(0,"获取人均作业用时成功",lst);
|
81
|
71
|
}
|
82
|
72
|
//人均预习用时
|
83
|
73
|
@PostMapping("/avgpre")
|
84
|
74
|
public ResultVo listRegionSchoolUsetimePreview(@RequestBody RegionParam param){
|
85
|
|
- Integer begintime = param.getBegintime();
|
86
|
|
- Integer endtime = param.getEndtime();
|
87
|
75
|
Integer level = param.getLevel();
|
88
|
|
- N_Utils.validation(new Object[]{level,"学段",1,begintime,"开始时间",1,endtime,"结束时间",1});
|
|
76
|
+ N_Utils.validation(new Object[]{level,"学段",1});
|
89
|
77
|
List<Map> lst= rPaperAnalyzeService.listRegionSchoolUsetimePreview(param);
|
90
|
78
|
return new ResultVo(0,"获取人均预习用时成功",lst);
|
91
|
79
|
}
|