修复注册姓名校验失效问题,修复文件上传无法回调问题

This commit is contained in:
2018-05-01 14:12:09 +08:00
parent b8d9749139
commit 3b62e78c66
9 changed files with 171 additions and 133 deletions

View File

@@ -74,7 +74,7 @@ public class RegisterController {
public boolean doCheckStudent(@RequestParam(value = "studentno") String studentno,
@RequestParam(value = "realname") String realname){
TbStudentlist studentlist = studentService.findByColstudentnoAndColrealname(studentno,realname);
if (studentlist!=null&&studentlist.getRegistered().equals(RegisteredEnum.REGISTERED.getCode()) ) {
if (studentlist==null||studentlist.getRegistered().equals(RegisteredEnum.REGISTERED.getCode()) ) {
return false;
}
return true;