Esempio n. 1
0
 public List getDeptList() {
   IDepartmentBO departmentBO = (IDepartmentBO) BaseAction.getBean("departmentBO");
   if (getTrcpDeptLimit() == null) {
     this.deptList = new ArrayList();
   } else {
     String[] deptNos = getTrcpDeptLimit().split(", ");
     this.deptList = departmentBO.getDepartmentsByNos(deptNos);
   }
   return this.deptList;
 }
  private void getDrillDownList() {
    ILocationBO localbo = (ILocationBO) SpringBeanFactory.getBean("locationBO");
    this.locations = localbo.FindEnabledLocation();
    IEmpTypeBO emptypebo = (IEmpTypeBO) SpringBeanFactory.getBean("emptypeBO");
    this.empType = emptypebo.FindEnabledEmpType();

    IEmpAddConfBo empAddConfBo = (IEmpAddConfBo) BaseAction.getBean("empAddConfBo");
    this.attdConfList = empAddConfBo.listByTable("attend");
    for (Empaddconf conf : this.attdConfList)
      if (conf != null) conf.setFieldValueList(getListByString(conf.getEadcFieldValue()));
  }