Пример #1
0
        /// <summary>
        /// 根据report_group_id和application_id_chr查询报告的结果记录
        /// </summary>
        /// <param name="strApplicationID">申请单ID</param>
        /// <param name="strReportGroupID">报告组ID</param>
        /// <param name="blnConfirmed">是否审核</param>
        /// <param name="dtbCheckResult">返回结果信息</param>
        /// <returns></returns>
        public long m_lngGetCheckResultByReportGroupIDAndApplicationID(string p_strApplicationID, string p_strReportGroupID, bool p_blnConfirmed, out DataTable p_dtbCheckResult)
        {
            long lngRes = 0;

            p_dtbCheckResult = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetCheckResultByReportGroupIDAndApplicationID(objPrincipal, p_strApplicationID, p_strReportGroupID, p_blnConfirmed, out p_dtbCheckResult);
            //			objSvc.Dispose();
            return(lngRes);
        }
Пример #2
0
        /// <summary>
        /// 根据report_group_id和application_id_chr查询报告单相关信息
        /// </summary>
        /// <param name="p_strReportGroupID">报告组ID</param>
        /// <param name="p_strApplID">申请单ID</param>
        /// <param name="p_blnConfirmed">是否审核</param>
        /// <param name="p_dtbReportInfo">返回报告单相关信息</param>
        /// <returns></returns>
        public long m_lngGetReportPrintInfo(string p_strReportGroupID, string p_strApplID, bool p_blnConfirmed, out clsPrintValuePara p_objPrintContent)
        {
            p_objPrintContent = null;
            long      lngRes         = 0;
            DataTable dtbReportInfo  = null;
            DataTable dtbCheckResult = null;

            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetReportInfoByReportGroupIDAndApplicationID(objPrincipal, p_strReportGroupID, p_strApplID, p_blnConfirmed, out dtbReportInfo);
            if (lngRes > 0)
            {
                lngRes = 0;
                lngRes = objSvc.m_lngGetCheckResultByReportGroupIDAndApplicationID(objPrincipal, p_strApplID, p_strReportGroupID, p_blnConfirmed, out dtbCheckResult);
            }
            if (lngRes > 0)
            {
                p_objPrintContent = new clsPrintValuePara();
                p_objPrintContent.m_dtbBaseInfo = dtbReportInfo;
                p_objPrintContent.m_dtbResult   = dtbCheckResult;
            }
//			objSvc.Dispose();
            return(lngRes);
        }