示例#1
0
        /// <summary>
        /// 更新样本标志位
        ///  刘彬 2004.10.31
        /// </summary>
        /// <param name="p_strSampleIDArr"></param>
        /// <param name="p_intSourceStatus"></param>
        /// <param name="p_intTargetStatus"></param>
        /// <returns>
        /// 小于等于0:出错;
        ///1:成功。
        /// </returns>
        public long m_lngUpdateSampleFlag(string[] p_strSampleIDArr, int p_intSourceStatus, int p_intTargetStatus)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsSampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsSampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsSampleSvc));
            lngRes = objSvc.m_lngUpdateSampleFlag(objPrincipal, p_strSampleIDArr, p_intSourceStatus, p_intTargetStatus);
            objSvc.Dispose();
            return(lngRes);
        }
示例#2
0
        /// <summary>
        /// 增加一个样本,同时修改申请样本组
        /// </summary>
        /// <param name="p_objPrincipal"></param>
        /// <param name="p_strAppID"></param>
        /// <param name="p_objRecordVO"></param>
        /// <returns></returns>
        public long m_lngAddNewSampleAndModifyAppSampleGroup(
            string p_strAppID, ref clsT_OPR_LIS_SAMPLE_VO p_objRecordVO)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsSampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsSampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsSampleSvc));
            lngRes = objSvc.m_lngAddNewSampleAndModifyAppSampleGroup(objPrincipal,
                                                                     p_strAppID, ref p_objRecordVO);
            objSvc.Dispose();
            return(lngRes);
        }