/// <summary> /// 获取所有科室&病区 /// </summary> /// <param name="p_dtbValue">科室&病区</param> /// <returns></returns> internal long m_lngGetAllDeptInfo(out DataTable p_dtbValue) { long lngRes = 0; clsHospitalManagerService objSvc = (clsHospitalManagerService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsHospitalManagerService)); lngRes = objSvc.m_lngGetAllDeptInfo(objPrincipal, out p_dtbValue); return(lngRes); }
private void m_mthFillDept() { DataTable deptDt = new DataTable(); clsHospitalManagerService objHospitalServ = (clsHospitalManagerService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsHospitalManagerService)); DataTable dtbDept = new DataTable(); long lngRes = objHospitalServ.m_lngGetAllDeptInfo(null, out dtbDept); if (lngRes > 0 && dtbDept.Rows.Count > 0) { m_objViewer.m_lsvFind.Tag = dtbDept; DataRow[] objRows = new DataRow[dtbDept.Rows.Count]; dtbDept.Rows.CopyTo(objRows, 0); m_mthAddToDept(objRows); } }