Exemple #1
0
        /// <summary>
        /// 删除记录。
        /// </summary>
        /// <param name="p_objRecordContent">当前要删除的记录</param>
        /// <param name="p_objModifyInfo">若当前要删除的记录不是最新的记录,返回该最新记录的操作信息,否则为空</param>
        /// <returns></returns>
        public override long m_lngDeleteRecord(clsTrackRecordContent p_objRecordContent,
                                               out clsPreModifyInfo p_objModifyInfo)
        {
            p_objModifyInfo = null;
            //参数判断
            if (p_objRecordContent == null)
            {
                return((long)enmOperationResult.Parameter_Error);
            }

            clsPICUShiftInService m_objServ =
                (clsPICUShiftInService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPICUShiftInService));

            long lngRes = 0;

            try
            {
                lngRes = m_objServ.m_lngDeleteRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, out p_objModifyInfo);
            }
            finally
            {
                //m_objServ.Dispose();
            }
            return(lngRes);
        }
Exemple #2
0
        protected override long m_lngSubGetDeletedPICUShiftInfo(string p_strInPatientID, string p_strInPatientDate, string p_strCreateDate, ref string p_strResultXml, ref int p_intResultRows)
        {
            clsPICUShiftInService m_objServ =
                (clsPICUShiftInService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPICUShiftInService));

            long lngRes = 0;

            try
            {
                lngRes = m_objServ.m_lngGetDeletedPICUShiftInfo(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_strCreateDate, ref p_strResultXml, ref p_intResultRows);
            }
            finally
            {
                //m_objServ.Dispose();
            }
            return(lngRes);
        }
Exemple #3
0
        public override long m_lngCheckNewCreateDate(string p_strInPatientID, string p_strInPatientDate, string p_strCreateDate, out bool p_blnIsAddNew)
        {
            clsPICUShiftInService m_objServ =
                (clsPICUShiftInService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPICUShiftInService));

            long lngRes = 0;

            try
            {
                lngRes = m_objServ.m_lngCheckNewCreateDate(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_strCreateDate, out p_blnIsAddNew);
            }
            finally
            {
                //m_objServ.Dispose();
            }
            return(lngRes);
        }
Exemple #4
0
        protected override long m_lngSubModify(string p_strMainXml, string p_strContentXml)
        {
            clsPICUShiftInService m_objServ =
                (clsPICUShiftInService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPICUShiftInService));

            long lngRes = 0;

            try
            {
                lngRes = m_objServ.m_lngModify(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strMainXml, p_strContentXml);
            }
            finally
            {
                //m_objServ.Dispose();
            }
            return(lngRes);
        }