|
@@ -32,7 +32,8 @@ public class EPaperVerifyController {
|
32
|
32
|
public ResultVo listStudentByStudentname(@RequestBody EClassStudent student) {
|
33
|
33
|
Integer examid = student.getExamid();
|
34
|
34
|
String studentname = student.getStudentname();
|
35
|
|
- N_Utils.validation(new Object[]{examid, "考试id", 1, studentname, "姓名", 2});
|
|
35
|
+ if(N_Utils.isEmpty(studentname)) return new ResultVo(0, "获取成功!", null);
|
|
36
|
+ N_Utils.validation(new Object[]{examid, "考试id", 1});
|
36
|
37
|
List<Map> list = ePaperVerifyService.listStudentByStudentname(examid, studentname, student.getClassid());
|
37
|
38
|
return new ResultVo(0, "获取成功!", list);
|
38
|
39
|
}
|