Selaa lähdekoodia

判断参数

tags/正式版本
王宁 2 vuotta sitten
vanhempi
commit
c764039808

+ 1
- 1
sexam/src/main/java/com/xhkjedu/sexam/controller/report/EReportStudentController.java Näytä tiedosto

@@ -48,7 +48,7 @@ public class EReportStudentController {
48 48
     @PostMapping("/hr")
49 49
     public ResultVo listStudentRankHistory(@RequestBody ReportParamsVo params) {
50 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 52
         List<Map> list = eReportStudentService.listStudentRankHistory(studentid,params.getExamid(),params.getTeacherid());
53 53
         return new ResultVo(0, "获取报告概况历史名次成功", list);
54 54
     }

Loading…
Peruuta
Tallenna