示例#1
0
  public void saveEvaluate(
      UserInfo user,
      String planid,
      AppraiseDailyBean appraiseDailyBean,
      List<AppraiseDailyBean> speicalBeans) {
    /*Evaluate evaluate = new Evaluate();
    evaluate.setEntityScore(score);
    evaluate.setEntityRemark(remark);
    evaluate.setEvaluator(user.getUserID());
    evaluate.setEntityType(MainTenanceConstant.LP_EVALUATE_TEST_PLAN);
    evaluate.setEntityId(planid);
    dao.savaEvaluate(evaluate);*/

    // 保存日常考核信息
    appraiseDailyBO.saveAppraiseDailyByBean(appraiseDailyBean);
    // 保存专项日常考核信息
    appraiseDailySpecialBO.saveAppraiseDailyByBean(speicalBeans);
    TestPlan plan = planDAO.get(planid);
    plan.setTestState(MainTenanceConstant.TEST_PLAN_END);
    planDAO.save(plan);
    sendMsg(plan, planid);
    evaluate(user, planid);
  }
示例#2
0
 /**
  * 查询待考核的计划列表
  *
  * @return
  */
 public List getWaitExams(String regionid) {
   return planDAO.getWaitExams(regionid);
 }