コード例 #1
0
        /// <summary>
        /// 删除指定药品调价明细记录
        /// </summary>
        /// <param name="p_lngSEQ">明细记录序列</param>
        /// <param name="p_blnIsCommit">是否保存即审核</param>
        /// <param name="p_blnIsDiffLotNO">是否分批号</param>
        /// <param name="p_objAdjustMedicine">调价审核药品信息</param>
        /// <returns></returns>
        internal long m_lngDeleteSpecAdjustmentDetail(long[] p_lngSEQ, bool p_blnIsCommit, bool p_blnIsDiffLotNO, clsMS_MedicineInfoForAdjustPrice p_objAdjustMedicine)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngDeleteSpecAdjustmentDetail(objPrincipal, p_lngSEQ, p_blnIsCommit, p_blnIsDiffLotNO, p_objAdjustMedicine);
            return(lngRes);
        }
コード例 #2
0
        /// <summary>
        /// 修改调价主表内容
        /// </summary>
        /// <param name="p_objMain">调价主表内容</param>
        /// <returns></returns>
        internal long m_lngModifyAdjustmentMain(clsMS_Adjustment_VO p_objMain)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngModifyAdjustmentMain(objPrincipal, p_objMain);
            return(lngRes);
        }
コード例 #3
0
        /// <summary>
        /// 根据药品ID获取药品
        /// </summary>
        /// <param name="p_strMedicineID">药品ID</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_dtbMedicine">药品数据</param>
        /// <returns></returns>
        internal long m_lngGetMedicineByMedicineID(string p_strMedicineID, string p_strStorageID, out DataTable p_dtbMedicine)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngGetMedicineByMedicineID(objPrincipal, p_strMedicineID, p_strStorageID, out p_dtbMedicine);
            return(lngRes);
        }
コード例 #4
0
        /// <summary>
        /// 添加药品调价明细
        /// </summary>
        /// <param name="p_objDetailArr">药品调价明细内容</param>
        /// <param name="p_lngSEQ">生成的序列号</param>
        /// <returns></returns>
        internal long m_lngAddNewAdjustmentDetail(clsMS_Adjustment_Detail[] p_objDetailArr, out long[] p_lngSEQ)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngAddNewAdjustmentDetail(objPrincipal, p_objDetailArr, out p_lngSEQ);
            return(lngRes);
        }
コード例 #5
0
        /// <summary>
        /// 删除整条药品调价记录
        /// </summary>
        /// <param name="p_lngSEQ">药品调价主表索引</param>
        /// <returns></returns>
        internal long m_lngDeleteAdjustment(long[] p_lngSEQ, bool m_blnChangeMedStore)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngDeleteAdjustment(objPrincipal, p_lngSEQ, m_blnChangeMedStore);
            return(lngRes);
        }
コード例 #6
0
        /// <summary>
        /// 修改药品调价记录
        /// </summary>
        /// <param name="p_objAdjustMedicineArrWithLotNO">药品调价记录</param>
        /// <returns></returns>
        internal long m_lngModifyStoragePrice(clsMS_MedicineInfoForAdjustPrice[] p_objAdjustMedicineArrWithLotNO)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngModifyStoragePrice(objPrincipal, false, p_objAdjustMedicineArrWithLotNO);
            return(lngRes);
        }
コード例 #7
0
        /// <summary>
        /// 入帐
        /// </summary>
        /// <param name="p_strChittyIDArr">入库单据号(须与主表序列一一对应)</param>
        /// <param name="p_lngMainSEQ">主表序列(须与入库单据号一一对应)</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_strEmpID">入帐员工ID</param>
        /// <param name="p_dtmAccountDate">入帐日期</param>
        /// <returns></returns>
        internal long m_lngInAccount(string[] p_strChittyIDArr, long[] p_lngMainSEQ, string p_strStorageID, string p_strEmpID, DateTime p_dtmAccountDate, bool m_blnChangeMedStore)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngInAccount(objPrincipal, p_strChittyIDArr, p_lngMainSEQ, p_strStorageID, p_strEmpID, p_dtmAccountDate, m_blnChangeMedStore);
            return(lngRes);
        }
コード例 #8
0
        /// <summary>
        /// 退审药品调价记录
        /// </summary>
        /// <param name="p_lngMainSEQ">主表序列</param>
        /// <param name="p_objAdjustMedicineArrWithLotNO">药品调价记录</param>
        /// <param name="p_strAdjustIDArr">调价单据号</param>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_strUserID">退审人ID</param>
        /// <param name="p_dtmUnCommitDate">退审时间</param>
        /// <param name="p_blnIsChangeBase">是否修改字典表</param>
        /// <returns></returns>
        internal long m_lngUnCommitAdjustPrice(long[] p_lngMainSEQ, clsMS_MedicineInfoForAdjustPrice[] p_objAdjustMedicineArrWithLotNO, string[] p_strAdjustIDArr, string p_strStorageID, string p_strUserID, DateTime p_dtmUnCommitDate, bool p_blnIsChangeBase)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngUnCommitAdjustPrice(objPrincipal, p_lngMainSEQ, p_objAdjustMedicineArrWithLotNO, p_strAdjustIDArr, p_strStorageID, p_strUserID, p_dtmUnCommitDate, p_blnIsChangeBase);
            return(lngRes);
        }
コード例 #9
0
        /// <summary>
        /// 获取药品调价明细
        /// </summary>
        /// <param name="p_lngMainSEQ">主表序列</param>
        /// <param name="p_dtbDetail">药品调价明细记录</param>
        /// <returns></returns>
        internal long m_lngGetAdjustmentDetail(long p_lngMainSEQ, out DataTable p_dtbDetail)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngGetAdjustmentDetail(objPrincipal, p_lngMainSEQ, out p_dtbDetail);
            return(lngRes);
        }
コード例 #10
0
        /// <summary>
        /// 获取药品调价主表信息
        /// </summary>
        /// <param name="p_strStorageID">仓库ID</param>
        /// <param name="p_dtmSearchBegin">搜索开始时间</param>
        /// <param name="p_dtmSearchEnd">搜索结束时间</param>
        /// <param name="p_dtbValue">药品调价主表信息</param>
        /// <returns></returns>
        internal long m_lngGetAdjustmentMain(string p_strStorageID, DateTime p_dtmSearchBegin, DateTime p_dtmSearchEnd, out DataTable p_dtbValue)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngGetAdjustmentMain(objPrincipal, p_strStorageID, p_dtmSearchBegin, p_dtmSearchEnd, out p_dtbValue);
            return(lngRes);
        }
コード例 #11
0
ファイル: clsDcl_AdjustmentDetail.cs プロジェクト: ewin66/HIS
        /// <summary>
        /// 修改药品调价记录
        /// </summary>
        /// <param name="p_objMain">主表记录</param>
        /// <param name="p_objDetailArr">明细记录</param>
        /// <param name="p_blnIsCommit">是否直接审核</param>
        /// <param name="p_blnIsDiffLotNO">是否分批号</param>
        /// <param name="p_lngSEQ">明细表序列</param>
        /// <returns></returns>
        internal long m_lngModifyAdjustment(clsMS_Adjustment_VO p_objMain, clsMS_Adjustment_Detail[] p_objDetailArr, bool p_blnIsCommit, bool p_blnIsDiffLotNO, out long[] p_lngSEQ, bool m_blnChangeMedStore)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC objSvc =
                (com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsAdjustmentSVC));
            lngRes = objSvc.m_lngModifyAdjustment(objPrincipal, p_objMain, p_objDetailArr, p_blnIsCommit, p_blnIsDiffLotNO, out p_lngSEQ, m_blnChangeMedStore);
            return(lngRes);
        }