|
@@ -81,10 +81,10 @@ public class EPaperCorrectTeacherController {
|
81
|
81
|
@PostMapping("/get_cq")
|
82
|
82
|
public ResultVo getCorrectQuestion(@RequestBody EPTeacherVo vo) {
|
83
|
83
|
Integer teacherid = vo.getTeacherid();
|
84
|
|
- String eptqids = vo.getEptqids();
|
|
84
|
+ Integer eptqid = vo.getEptqid();
|
85
|
85
|
Integer esid = vo.getEsid();
|
86
|
|
- N_Utils.validation(new Object[]{teacherid, "教师id", 1, eptqids, "试卷试题ids", 2, esid, "考试科目id", 1});
|
87
|
|
- return correctTeacherService.getCorrectQuestion(teacherid, eptqids, vo.getClassids(), esid);
|
|
86
|
+ N_Utils.validation(new Object[]{teacherid, "教师id", 1, eptqid, "试卷试题id", 1, esid, "考试科目id", 1});
|
|
87
|
+ return correctTeacherService.getCorrectQuestion(teacherid, eptqid, vo.getClassids(), esid);
|
88
|
88
|
}
|
89
|
89
|
|
90
|
90
|
/**
|
|
@@ -97,10 +97,10 @@ public class EPaperCorrectTeacherController {
|
97
|
97
|
**/
|
98
|
98
|
@PostMapping("/get_pre")
|
99
|
99
|
public ResultVo getPreQuestion(@RequestBody EPTeacherVo vo) {
|
100
|
|
- Integer epid = vo.getEpid();
|
|
100
|
+ Integer eptqid = vo.getEptqid();
|
101
|
101
|
Integer teacherid = vo.getTeacherid();
|
102
|
|
- N_Utils.validation(new Object[]{epid, "试卷id", 1, teacherid, "教师id", 1});
|
103
|
|
- return correctTeacherService.getPreQuestion(epid, teacherid);
|
|
102
|
+ N_Utils.validation(new Object[]{eptqid, "试卷试题id", 1, teacherid, "教师id", 1});
|
|
103
|
+ return correctTeacherService.getPreQuestion(eptqid, teacherid);
|
104
|
104
|
}
|
105
|
105
|
|
106
|
106
|
/**
|