Пример #1
0
        /// <summary>
        /// 查询请领单状态
        /// </summary>
        /// <param name="p_strSeq">请领单序列号</param>
        /// <param name="p_intQueryStyle">查询方式:0-以主表序列号查询,1-以子表序列号查询</param>
        /// <param name="p_strStatus">请领单状态</param>
        /// <returns></returns>
        public long m_lngQueryAskMedStatus(string p_strSeq, int p_intQueryStyle, out string p_strStatus)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngQueryAskMedStatus(p_strSeq, p_intQueryStyle, out p_strStatus);
            return(lngRes);
        }
Пример #2
0
        /// <summary>
        /// 根据序列号删除药品id
        /// </summary>
        /// <param name="m_strSeqid"></param>
        /// <returns></returns>
        public long m_lngDelMedDetail(long m_lngSeqid)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngDelAskMedDetail(objPrincipal, m_lngSeqid);
            return(lngRes);
        }
Пример #3
0
        /// <summary>
        /// 更新药房请领主表和明细表数据
        /// </summary>
        /// <param name="m_objMainVo"></param>
        /// <param name="m_objDetailArr"></param>
        /// <returns></returns>
        public long m_lngUpdateAskMedInfo(clsDS_Ask_VO m_objMainVo, ref clsDS_Ask_Detail_VO[] m_objDetailArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngUpdateAskMedInfo(objPrincipal, m_objMainVo, ref m_objDetailArr);
            return(lngRes);
        }
Пример #4
0
        /// <summary>
        /// 作废请领主表单据的状态
        /// </summary>
        /// <param name="lngArr"></param>
        /// <returns></returns>
        public long m_lngDeleteBill(string p_strBillID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngDeleAskInfo(objPrincipal, p_strBillID);
            return(lngRes);
        }
Пример #5
0
        /// <summary>
        /// 退审请领主表单据的状态
        /// </summary>
        /// <param name="p_objPrincipal"></param>
        /// <param name="lngArr"></param>
        /// <returns></returns>
        public long m_lngUnExamAskInfo(System.Security.Principal.IPrincipal p_objPrincipal, long[] lngArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngUnExamAskInfo(objPrincipal, lngArr);
            return(lngRes);
        }
Пример #6
0
        /// <summary>
        /// 入帐请领主表单据
        /// </summary>
        /// <param name="lngArr"></param>
        /// <param name="m_intType">状态值: 5-入帐  </param>
        /// <returns></returns>
        public long m_lngInAccountAskInfo(long lngSeqid, string m_strInAccounterid, string m_strChittyid, string m_strDrugStoreid)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngInAccountAskInfo(objPrincipal, lngSeqid, m_strInAccounterid, m_strChittyid, m_strDrugStoreid);
            return(lngRes);
        }
Пример #7
0
        /// <summary>
        /// 审核请领主表信息
        /// </summary>
        /// <param name="lngSeqid"></param>
        /// <param name="m_intType">状态值: 3、药库审核4、药房审核 </param>
        /// <param name="p_strInstoreId">入库单号 </param>
        /// <returns></returns>
        public long m_lngExamAskInfo(long lngSeqid, int m_intType, string p_strInstoreId)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngExamAskInfo(objPrincipal, lngSeqid, m_intType, p_strInstoreId);
            return(lngRes);
        }
Пример #8
0
        /// <summary>
        /// 提交请领主表信息
        /// </summary>
        /// <param name="voArr"></param>
        /// <returns></returns>
        public long m_lngCommiteAskInfo(clsDS_Ask_VO[] voArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngCommiteAskInfo(objPrincipal, voArr);
            return(lngRes);
        }
Пример #9
0
        /// <summary>
        /// 更新请领单明细表的足量状态
        /// </summary>
        /// <param name="p_lngSeriesID">主表序列</param>
        /// <param name="p_hstUpdateEnough">药品号和“+=”标识</param>
        /// <returns></returns>
        internal long m_lngUpdateEnoughState(long p_lngSeriesID, Hashtable p_hstUpdateEnough)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsAskForMedicineSVC));
            lngRes = objSvc.m_lngUpdateEnoughState(objPrincipal, p_lngSeriesID, p_hstUpdateEnough);
            return(lngRes);
        }