Пример #1
0
 // 面试官给出评分
 public String saveScore() {
   Interview interview = interviewDAO.findById((Integer) jsonObject.get("iid"));
   interview.setRank((String) jsonObject.get("rank"));
   interview.setEvaluate((String) jsonObject.get("evaluate"));
   interview.setPass(jsonObject.getInteger("pass"));
   interviewDAO.attachDirty(interview);
   return SUCCESS;
 }
Пример #2
0
 // 删除面试人
 public String deleteInterview() {
   Interview interview = interviewDAO.findById((Integer) jsonObject.get("iid"));
   interviewDAO.delete(interview);
   return SUCCESS;
 }
Пример #3
0
 // 面试官通知面试时间
 public String saveTime() {
   Interview interview = interviewDAO.findById(jsonObject.getInteger("iid"));
   interview.setTime(jsonObject.getDate("time"));
   interviewDAO.attachDirty(interview);
   return SUCCESS;
 }