public String execute() throws Exception {
    IRecruitplanBo recruitplanBo = (IRecruitplanBo) getBean("recruitplanBO");
    if (getRecruitplan() == null) {
      String[] fetch = {
        "recpDepartmentNo", "recpCreateBy", "recpLastChangeBy", "recpType", "recpJobTitle"
      };
      this.recruitplan = recruitplanBo.loadRecruitplan(this.id, fetch);
    }

    String[] fetchDept = {"empDeptNo"};
    if (!getCurrentEmpNo().equals(this.recruitplan.getRecpCreateBy().getId())) {
      return "noauth";
    }
    IEmployeeBo empBo = (IEmployeeBo) getBean("empBo");
    IDepartmentBO deptbo = (IDepartmentBO) SpringBeanFactory.getBean("departmentBO");
    Employee tempEmp = empBo.loadEmp(getCurrentEmpNo(), fetchDept);
    this.departmentName = tempEmp.getEmpDeptNo().getDepartmentName();
    this.departmentId = tempEmp.getEmpDeptNo().getId();
    setAllDept(deptbo.FindEnabledDepartment());
    ILocationBO localbo = (ILocationBO) SpringBeanFactory.getBean("locationBO");
    setAllLocation(localbo.FindEnabledLocation());

    setAllStatus(recruitplanBo.getRecruitplanStatus());
    IEmpTypeBO emptypebo = (IEmpTypeBO) SpringBeanFactory.getBean("emptypeBO");
    setEmptype(emptypebo.FindEnabledEmpType());

    IJobTitleBo jobTitleBo = (IJobTitleBo) SpringBeanFactory.getBean("jobTitleBo");
    this.jobTitles = jobTitleBo.FindEnabledJobTitle();
    return "success";
  }
  public Map<String, Employee> getEmployeeMap() {
    Map employeeHashtable = new HashMap();
    IEmployeeBo esaBo = (IEmployeeBo) SpringBeanFactory.getBean("empBo");
    DetachedCriteria dc = DetachedCriteria.forClass(Employee.class);
    dc.createAlias(Employee.PROP_EMP_BENEFIT_TYPE, "empBenefitType", 1);
    dc.createAlias(Employee.PROP_EMP_BENEFIT, "benefit", 1);
    dc.createAlias(Employee.PROP_EMP_DEPT_NO, "empDeptNo", 1);
    dc.createAlias(Employee.PROP_CONFIG, "config", 1);

    dc.add(Restrictions.eq(Employee.PROP_EMP_STATUS, Integer.valueOf(1)));
    List<Employee> empList = esaBo.findByCriteria(dc);
    for (Employee emp : empList) {
      employeeHashtable.put(emp.getEmpDistinctNo(), emp);
    }
    return employeeHashtable;
  }