Ejemplo n.º 1
0
        /// <summary>
        /// 通过就诊记录号来获取社保病人的结算号
        /// </summary>
        /// <param name="strInpatientID"></param>
        /// <param name="dtResult"></param>
        /// <returns></returns>
        public long m_lngGetJSHbyJZJLH(string strInpatientID, out DataTable dtResult)
        {
            long lngRes = 0;

            dtResult = new DataTable();
            #region 中间件操作
            clsYBCSQuerySVC objServ = null;
            try
            {
                objServ = (clsYBCSQuerySVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsYBCSQuerySVC));
                lngRes  = objServ.m_lngGetJSHbyJZJLH(strInpatientID, out dtResult);
            }
            catch (Exception exp)
            {
                Utility.clsLogText objLogger = new Utility.clsLogText();
                objLogger.LogError("连接中间件操作异常," + exp.Message);
            }
            finally
            {
                if (objServ != null)
                {
                    objServ.Dispose();
                    objServ = null;
                }
            }
            #endregion
            return(lngRes);
        }