|
@ -73,7 +73,7 @@ public class AuthApplyService {
|
73
|
73
|
authApply.setApplyType(2);
|
74
|
74
|
authApply.setSolveStatus(1);
|
75
|
75
|
this.authApplyDao.insert(con, authApply);
|
76
|
|
this.professorDao.updateAuthType(con, authApply.getProfessorId(), 1);
|
|
76
|
this.professorDao.updateAuthStatusExpert(con, authApply.getProfessorId(), 1);
|
77
|
77
|
for (String fn : fns) {
|
78
|
78
|
this.authImageService.insertImg(con, authApplyId, fn);
|
79
|
79
|
}
|
|
@ -86,7 +86,10 @@ public class AuthApplyService {
|
86
|
86
|
if(auth==1){
|
87
|
87
|
this.professorDao.updateAuthStatus(con, professorId, state);
|
88
|
88
|
}else if(auth==2){
|
89
|
|
this.professorDao.updateAuthType(con, professorId, state);
|
|
89
|
this.professorDao.updateAuthStatusExpert(con, professorId, state);
|
|
90
|
if(state==3){
|
|
91
|
this.professorDao.updateAuthType(con, professorId, 1);
|
|
92
|
}
|
90
|
93
|
}
|
91
|
94
|
}
|
92
|
95
|
|