/// <summary>
        /// 内退统计
        /// </summary>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_dtmBegin">查询开始时间</param>
        /// <param name="p_dtmEnd">查询结束时间</param>
        /// <param name="p_strDeptID">科室ID</param>
        /// <param name="p_dtbData">统计结果</param>
        /// <returns></returns>
        internal long m_lngGetWithinWithdrawal(string p_strStorageID, DateTime p_dtmBegin, DateTime p_dtmEnd, string p_strDeptID, int p_intMedicineSetID, out DataTable p_dtbData)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsOutStorageStatSvc objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsOutStorageStatSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsOutStorageStatSvc));
            lngRes = objSvc.m_lngGetWithinWithdrawal(objPrincipal, p_strStorageID, p_dtmBegin, p_dtmEnd, p_strDeptID, p_intMedicineSetID, out p_dtbData);
            return(lngRes);
        }
        public long m_lngGetResultByOutStorageStat(ref clsMS_OutStorageStatQueryCondition_VO objvalue_Param, ref DataTable dtbResult)
        {
            long lngRes = 0;

            //com.digitalwave.iCare.middletier.HIS.clsDemoMiddleTierSVC objSvc =(com.digitalwave.iCare.middletier.HIS.clsDemoMiddleTierSVC)clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsDemoMiddleTierSVC));

            //创建中间件COM对象
            com.digitalwave.iCare.middletier.MedicineStoreService.clsOutStorageStatSvc objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsOutStorageStatSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsOutStorageStatSvc));

            lngRes = objSvc.m_lngGetOutStorageStatData(objPrincipal, ref objvalue_Param, ref dtbResult);
            return(lngRes);
        }