|
@ -442,9 +442,15 @@ public class ProfessorService {
|
442
|
442
|
return ret;
|
443
|
443
|
}
|
444
|
444
|
|
445
|
|
private void updateOrgName(Connection con, String id) throws SQLException {
|
|
445
|
private void updateOrgName(Connection con, final String id) throws SQLException {
|
446
|
446
|
this.professorDao.updateOrgAuth(con, id, "0");
|
447
|
447
|
this.demandDao.closeByCreator(con, id);
|
448
|
448
|
this.orgResStaffDao.deletePro(con, id);
|
|
449
|
JdbcUtil.execute(con,"DELETE FROM WARE_PRO WHERE PROFESSOR=?",new PreparedStatementConfig() {
|
|
450
|
@Override
|
|
451
|
public void config(PreparedStatement ps) throws SQLException {
|
|
452
|
ps.setString(1, id);
|
|
453
|
}
|
|
454
|
});
|
449
|
455
|
}
|
450
|
456
|
}
|