//public List<dtEmployee> GetBelongingEmpList(string strOfficeCode, string strDepartmentCode, bool? bChiefFlag, bool? bApproveFlag, bool? bCorrespondentFlag) //{ // return this.GetBelongingEmpList(strOfficeCode, strDepartmentCode, bChiefFlag, bApproveFlag, bCorrespondentFlag); //} //public List<dtDepartment> GetBelongingDepartmentList(string strOfficeCode, string strDepartmentCode) //{ // return this.GetBelongingDepartmentList(strOfficeCode, strDepartmentCode); //} /// <summary> /// Mapping employee list data /// </summary> /// <param name="empLst"></param> public void EmployeeListMapping(EmployeeMappingList empLst) { try { if (empLst == null) { return; } List <tbm_Employee> lst = this.GetEmployeeList(empLst.GetEmployeeList()); if (lst.Count > 0) { empLst.SetEmployeeValue(lst); } } catch (Exception) { throw; } }
/// <summary> /// Mapping active employee list data /// </summary> /// <param name="empLst"></param> public void ActiveEmployeeListMapping(EmployeeMappingList empLst) { try { if (empLst == null) { return; } List <doActiveEmployeeList> lst = this.GetActiveEmployeeList(empLst.GetEmployeeList()); if (lst.Count > 0) { List <tbm_Employee> e = CommonUtil.ClonsObjectList <doActiveEmployeeList, tbm_Employee>(lst); empLst.SetEmployeeValue(e); } } catch (Exception) { throw; } }