紧急修复无法修改个人信息的错误,以及无法设置密保问题的错误

This commit is contained in:
2018-04-27 12:33:18 +08:00
parent 91b94e564f
commit b827bc24ce
14 changed files with 50 additions and 38 deletions

View File

@@ -27,9 +27,8 @@ public class StudentService {
return tbStudentListRepository.findByColstudentnoAndColrealname(studentno,realname);
}
public TbStudentlist UpdateStudentListRegistered(String realname,String studentno,Integer code){
TbStudentlist studentlist = new TbStudentlist();
studentlist = findByColstudentnoAndColrealname(studentno,realname);
public TbStudentlist updateStudentListRegistered(String realname,String studentno,Integer code){
TbStudentlist studentlist = findByColstudentnoAndColrealname(studentno,realname);
studentlist.setRegistered(code);
return tbStudentListRepository.save(studentlist);
}