Exemple #1
0
        /// <summary>
        /// 统计某病区的空床位总数 [按照性别类型]
        /// </summary>
        /// <param name="p_strAreaid_chr">病区ID</param>
        /// <param name="intSEX_INT">性别类型	[1、男;2、女;3、不限;]</param>
        /// <returns></returns>
        public int m_intStatEmptyBedNumberByAreaIDSex(string p_strAreaid_chr, int intSEX_INT)
        {
            int  intNumber = 0;
            long lngRes    = 0;

            com.digitalwave.iCare.middletier.HIS.clsBedManageSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsBedManageSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsBedManageSvc));
            try
            {
                lngRes = objSvc.m_lngStatEmptyBedNumberByAreaIDSex(objPrincipal, p_strAreaid_chr, intSEX_INT, out intNumber);
            }
            catch
            {
            }
            objSvc.Dispose();

            return(intNumber);
        }