Browse Source

Merge remote-tracking branch 'origin/master' into ywx

tags/正式版本
雍文秀 2 years ago
parent
commit
c57712f969

+ 1
- 1
sexam/src/main/java/com/xhkjedu/sexam/controller/report/EReportStudentController.java View File

48
     @PostMapping("/hr")
48
     @PostMapping("/hr")
49
     public ResultVo listStudentRankHistory(@RequestBody ReportParamsVo params) {
49
     public ResultVo listStudentRankHistory(@RequestBody ReportParamsVo params) {
50
         Integer studentid = params.getStudentid();
50
         Integer studentid = params.getStudentid();
51
-        N_Utils.validation(new Object[]{studentid,"学生id",1});
51
+        N_Utils.validation(new Object[]{studentid,"学生id",1,params.getExamid(),"考试id",1});
52
         List<Map> list = eReportStudentService.listStudentRankHistory(studentid,params.getExamid(),params.getTeacherid());
52
         List<Map> list = eReportStudentService.listStudentRankHistory(studentid,params.getExamid(),params.getTeacherid());
53
         return new ResultVo(0, "获取报告概况历史名次成功", list);
53
         return new ResultVo(0, "获取报告概况历史名次成功", list);
54
     }
54
     }

Loading…
Cancel
Save