private void m_mthModifyRecord() { if (m_objCurrentRecord == null) { return; } clsGestationMisbirthsthreeVO objNewRecord = m_objGetCircsRecordContentFromUI(); string strNow = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); objNewRecord.m_strInPatientID = m_strMotherID; objNewRecord.m_dtmInPatientDate = DateTime.Parse(m_strInPatientDate); objNewRecord.m_dtmOpenDate = m_objCurrentRecord.m_dtmOpenDate; objNewRecord.m_strCreateUserID = m_objCurrentRecord.m_strCreateUserID; objNewRecord.m_dtmCreateDate = m_objCurrentRecord.m_dtmCreateDate; objNewRecord.m_strModifyUserID = MDIParent.OperatorID; objNewRecord.m_dtmModifyDate = DateTime.Parse(strNow); clsPreModifyInfo p_objModifyInfo = new clsPreModifyInfo(); long lngRes = m_objDomain.m_lngModifyCircsRecord(m_objCurrentRecord, objNewRecord, out p_objModifyInfo); if (lngRes < 0) { MDIParent.ShowInformationMessageBox("保存失败"); } else { this.DialogResult = DialogResult.Yes; this.Close(); } }
private void m_mthAddNewRecord() { clsAYQBabyAssessmentContent objNewRecord = m_objGetCircsRecordContentFromUI(); string strNow = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); objNewRecord.m_strInPatientID = m_strMotherID; objNewRecord.m_dtmInPatientDate = DateTime.Parse(m_strInPatientDate); objNewRecord.m_dtmAssessmentDate = m_dtpRecordTime.Value; objNewRecord.m_dtmOpenDate = DateTime.Parse(strNow); objNewRecord.m_strCreateUserID = MDIParent.OperatorID; objNewRecord.m_dtmCreateDate = DateTime.Parse(strNow); objNewRecord.m_strModifyUserID = MDIParent.OperatorID; objNewRecord.m_dtmModifyDate = DateTime.Parse(strNow); clsPreModifyInfo p_objModifyInfo = new clsPreModifyInfo(); long lngRes = m_objDomain.m_lngAddNewCircsRecord(objNewRecord, out p_objModifyInfo); if (lngRes < 0) { MDIParent.ShowInformationMessageBox("保存失败"); } else { this.DialogResult = DialogResult.Yes; this.Close(); } }
/// <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); } clsPICUShiftOutService m_objServ = (clsPICUShiftOutService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPICUShiftOutService)); 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); }
/// <summary> /// 获取指定记录内容(茶山有摄入排出的护理表单用)。 /// </summary> /// <param name="p_strInPatientID"></param> /// <param name="p_strInPatientDate"></param> /// <param name="p_strFormID"></param> /// <param name="p_objTansDataInfoArr"></param> /// <returns></returns> //public long m_lngGetTransDataInfoArr(string p_strInPatientID, // string p_strInPatientDate,string p_strFormID, // out clsTransDataInfo[] p_objTansDataInfoArr) //{ // //参数判断 // p_objTansDataInfoArr = null; // if (string.IsNullOrEmpty(p_strInPatientID) || string.IsNullOrEmpty(p_strInPatientDate)) // return (long)enmOperationResult.Parameter_Error; // clsRecordsService m_objServ = clsRecordsDomainFactory.s_objGetRecordsDomain(m_enmRecordsType); // long lngRes = m_objServ.m_lngGetTransDataInfoArr(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate,p_strFormID, out p_objTansDataInfoArr); // //m_objServ.Dispose(); // return lngRes; //} #endregion /// <summary> /// 删除记录。 /// </summary> /// <param name="p_intRecordType"></param> /// <param name="p_objRecordContent"></param> /// <param name="p_objModifyInfo"></param> /// <returns></returns> public long m_lngDeleteRecord(int p_intRecordType, clsTrackRecordContent p_objRecordContent, out clsPreModifyInfo p_objModifyInfo) { //参数判断 p_objModifyInfo = null; if (p_intRecordType < 0 || p_objRecordContent == null) { return((long)enmOperationResult.Parameter_Error); } clsRecordsService m_objRecordsServ = clsRecordsDomainFactory.s_objGetRecordsDomain(m_enmRecordsType); long lngRes = m_objRecordsServ.m_lngDeleteRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_intRecordType, p_objRecordContent, out p_objModifyInfo); //m_objRecordsServ.Dispose(); return(lngRes); }
// 删除记录。 public long m_lngDeleteRecord(clsNewBabyInRoomRecord p_objRecordContent, out clsPreModifyInfo p_objModifyInfo) { //参数判断 clsNewBabyInRoomRecordService objServ = (clsNewBabyInRoomRecordService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsNewBabyInRoomRecordService)); long m_lngRes = 0; try { m_lngRes = objServ.m_lngDeleteRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, out p_objModifyInfo); } finally { //objServ.Dispose(); } return(m_lngRes); }
// 修改记录。 public long m_lngModifyRecord(clsInPatientCaseHistoryContent p_objOldRecordContent, clsInPatientCaseHistoryContent p_objNewRecordContent, clsPictureBoxValue[] p_objPicValueArr, string p_strDiseaseID, out clsPreModifyInfo p_objModifyInfo) { //参数判断 p_objModifyInfo = null; clsBaseCaseHistorySevice m_objBaseServ = clsCaseHistoryFactory.s_objGetDomain(m_enmProcessType); long m_lngRes = 0; try { m_lngRes = m_objBaseServ.m_lngModifyRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objOldRecordContent, p_objNewRecordContent, p_objPicValueArr, p_strDiseaseID, clsSystemContext.s_ObjCurrentContext.m_ObjDepartment.m_StrDeptID, out p_objModifyInfo); } finally { //m_objBaseServ.Dispose(); } return(m_lngRes); }
// 作废重做记录。 public long m_lngReAddNewRecord(clsInPatientCaseHistoryContent m_objDelRecord, clsInPatientCaseHistoryContent m_objAddNewRecord, out clsPreModifyInfo p_objModifyInfo) { //参数判断 p_objModifyInfo = null; clsBaseCaseHistorySevice m_objBaseServ = clsCaseHistoryFactory.s_objGetDomain(m_enmProcessType); long m_lngRes = 0; try { m_lngRes = m_objBaseServ.m_lngReAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, m_objDelRecord, m_objAddNewRecord, out p_objModifyInfo); } finally { //m_objBaseServ.Dispose(); } return(m_lngRes); }
/// <summary> /// 添加新生儿情况记录 /// </summary> /// <param name="p_objRecordContent"></param> /// <param name="p_objModifyInfo"></param> /// <returns></returns> public long m_lngAddNewCircsRecord(clsGestationMisbirthsthreeVO p_objRecordContent, out clsPreModifyInfo p_objModifyInfo) { p_objModifyInfo = null; clsGestationMisbirthsthreeRecService m_objCircsServ = (clsGestationMisbirthsthreeRecService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsGestationMisbirthsthreeRecService)); long m_lngRes = 0; try { m_lngRes = m_objCircsServ.m_lngAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, out p_objModifyInfo); } finally { //m_objCircsServ.Dispose(); } return(m_lngRes); }
/// <summary> /// 修改新生儿情况记录 /// </summary> /// <param name="p_objOldRecordContent"></param> /// <param name="p_objNewRecordContent"></param> /// <param name="p_objModifyInfo"></param> /// <returns></returns> public long m_lngModifyCircsRecord(clsNewBabyCircsRecord p_objOldRecordContent, clsNewBabyCircsRecord p_objNewRecordContent, out clsPreModifyInfo p_objModifyInfo) { p_objModifyInfo = null; clsNewBabyCircsRecordService m_objCircsServ = (clsNewBabyCircsRecordService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsNewBabyCircsRecordService)); long m_lngRes = 0; try { m_lngRes = m_objCircsServ.m_lngModifyRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objOldRecordContent, p_objNewRecordContent, out p_objModifyInfo); } finally { //m_objCircsServ.Dispose(); } return(m_lngRes); }
/// <summary> /// 获取指定记录内容(茶山有摄入排出的护理表单用)。 /// </summary> /// <param name="p_strInPatientID">住院号</param> /// <param name="p_strInPatientDate">入院日期</param> /// <param name="p_strOpenDate">记录时间</param> /// <param name="p_strFormID">表单ID</param> /// <param name="p_objRecordContent">返回的记录内容</param> /// <returns></returns> //public long m_lngGetRecordContent(string p_strInPatientID, // string p_strInPatientDate, // string p_strOpenDate,string p_strFormID, // out clsTrackRecordContent p_objRecordContent) //{ // p_objRecordContent = null; // //参数判断 // if (p_strInPatientID == null || p_strInPatientID == "" || p_strInPatientDate == null || p_strInPatientDate == "" || p_strOpenDate == null || p_strOpenDate == "") // return (long)enmOperationResult.Parameter_Error; // clsDiseaseTrackService m_objTrackServ = clsDiseaseTrackDomainFactory.s_objGetDiseaseTrackDomain(m_enmProcessType); // long lngRes = 0; // try // { // lngRes = m_objTrackServ.m_lngGetRecordContent(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_strOpenDate,p_strFormID, out p_objRecordContent); // } // finally // { // //m_objTrackServ.Dispose(); // } // return lngRes; //} #endregion /// <summary> /// 添加新记录。 /// </summary> /// <param name="p_objRecordContent">记录内容</param> /// <param name="p_objModifyInfo">若存在相同的创建时间,返回该记录的操作信息,否则为空</param> /// <returns></returns> public long m_lngAddNewRecord(clsTrackRecordContent p_objRecordContent, out clsPreModifyInfo p_objModifyInfo) { p_objModifyInfo = null; //参数判断 if (p_objRecordContent == null) { return((long)enmOperationResult.Parameter_Error); } clsDiseaseTrackService m_objTrackServ = clsDiseaseTrackDomainFactory.s_objGetDiseaseTrackDomain(m_enmProcessType); long lngRes = 0; try { lngRes = m_objTrackServ.m_lngAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, out p_objModifyInfo); } finally { //m_objTrackServ.Dispose(); } return(lngRes); }
public long m_lngReAddNewRecord(clsInPatientCaseHistoryContent m_objDelRecord, clsGestationMisbirthsthreeRelationVO m_objAddNewRecord, out clsPreModifyInfo p_objModifyInfo) { //参数判断 p_objModifyInfo = null; clsGestationMisbirthsthreeRelationVOService objServ = (clsGestationMisbirthsthreeRelationVOService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsGestationMisbirthsthreeRelationVOService)); long m_lngRes = 0; try { m_lngRes = objServ.m_lngReAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, m_objDelRecord, m_objAddNewRecord, out p_objModifyInfo); } finally { //objServ.Dispose(); } return(m_lngRes); }
// 添加新记录。 public long m_lngAddNewRecord(clsBaseCaseHistoryInfo p_objRecordContent, clsPictureBoxValue[] p_objPicValueArr, string p_strDiseaseID, out clsPreModifyInfo p_objModifyInfo) { //参数判断 p_objModifyInfo = null; clsGestationMisbirthsthreeRelationVOService objServ = (clsGestationMisbirthsthreeRelationVOService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsGestationMisbirthsthreeRelationVOService)); long m_lngRes = 0; try { m_lngRes = objServ.m_lngAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, p_objPicValueArr, p_strDiseaseID, MDIParent.m_objCurrentDepartment.m_strDEPTID_CHR, out p_objModifyInfo); } finally { //objServ.Dispose(); } return(m_lngRes); }
// 修改记录。 public long m_lngModifyRecord(clsNewBabyInRoomRecord p_objOldRecordContent, clsNewBabyInRoomRecord p_objNewRecordContent, clsPictureBoxValue[] p_objPicValueArr, string p_strDiseaseID, string p_strDeptID, out clsPreModifyInfo p_objModifyInfo) { //参数判断 p_objModifyInfo = null; clsNewBabyInRoomRecordService objServ = (clsNewBabyInRoomRecordService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsNewBabyInRoomRecordService)); long m_lngRes = 0; try { m_lngRes = objServ.m_lngModifyRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objOldRecordContent, p_objNewRecordContent, p_objPicValueArr, p_strDiseaseID, p_strDeptID, out p_objModifyInfo); } finally { //objServ.Dispose(); } return(m_lngRes); }
/// <summary> /// 修改数据 /// </summary> /// <returns></returns> protected override long m_lngSubModify() { long lngRes = 0; clsMiniBloodSugarChk_GXServ objservice = (clsMiniBloodSugarChk_GXServ)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMiniBloodSugarChk_GXServ)); try { #region 获取内容 //获取内容 m_objRecord.m_strInPatientID = strRecordInPatientID; m_objRecord.m_dtmInPatientDate = DateTime.Parse(strRecordInPatientDate); m_objRecord.m_dtmOpenDate = m_dtpCreateDate.Value; //记录时间取窗体上控件值 m_objRecord.m_dtmCreateDate = DateTime.Now; //创建时间取当前时间 m_objRecord.m_strCreateUserID = clsEMRLogin.LoginInfo.m_strEmpID; m_objRecord.m_dtmModifyDate = DateTime.Now; m_objRecord.m_strMeatType = cmbMealType.Text; m_objRecord.m_strBloodSugar_Right = m_txtValue.m_strGetRightText(); m_objRecord.m_strBloodSugar = m_txtValue.Text; m_objRecord.m_strBloodSugarXML = m_txtValue.m_strGetXmlText(); m_objRecord.m_strDescription = m_txtDesription.Text; //获取lsvsign签名 m_objRecord.objSignerArr = new clsEmrSigns_VO[1]; strUserIDList = ""; strUserNameList = ""; m_mthGetSignArr(new Control[] { txtSign }, ref m_objRecord.objSignerArr, ref strUserIDList, ref strUserNameList); //for (int i = 0; i < 1; i++) //{ // m_objRecord.objSignerArr[i] = new clsEmrSigns_VO(); // m_objRecord.objSignerArr[i].objEmployee = new clsEmrEmployeeBase_VO(); // m_objRecord.objSignerArr[i].objEmployee = (clsEmrEmployeeBase_VO)(txtSign.Tag); // m_objRecord.objSignerArr[i].controlName = "txtSign"; // m_objRecord.objSignerArr[i].m_strFORMID_VCHR = "frmMiniBooldSugarContent";//注意大小写 // m_objRecord.objSignerArr[i].m_strREGISTERID_CHR = com.digitalwave.emr.BEDExplorer.frmHRPExplorer.objpCurrentPatient.m_strREGISTERID_CHR; // //痕迹格式 0972,0324, // strUserIDList = strUserIDList + m_objRecord.objSignerArr[i].objEmployee.m_strEMPID_CHR.Trim() + ","; // strUserNameList = strUserNameList + m_objRecord.objSignerArr[i].objEmployee.m_strLASTNAME_VCHR.Trim() + ","; //} m_objRecord.m_strModifyUserID = strUserIDList; #endregion ArrayList objSignerArr = new ArrayList(); for (int i = 0; i < m_objRecord.objSignerArr.Length; i++) { if (m_objRecord.objSignerArr[i].controlName == "lsvSign" || m_objRecord.objSignerArr[i].controlName == "txtSign") { objSignerArr.Add(m_objRecord.objSignerArr[i].objEmployee); } } //数字签名 //记录ID通常为 住院号+住院时间 || 住院号+记录时间 来识别唯一 格式 00000056-2005-10-10 10:20:20 clsEmrDigitalSign_VO objSign_VO = new clsEmrDigitalSign_VO(); objSign_VO.m_strFORMID_VCHR = this.Name; objSign_VO.m_strFORMRECORDID_VCHR = m_objRecord.m_strInPatientID.Trim() + "-" + m_objRecord.m_dtmInPatientDate.ToString("yyyy-MM-dd HH:mm:ss"); objSign_VO.m_strSIGNIDID_VCHR = clsEMRLogin.LoginInfo.m_strEmpID; objSign_VO.m_strRegisterId = m_objBaseCurrentPatient.m_StrRegisterId; clsCheckSignersController objCheck = new clsCheckSignersController(objSignerArr, false); if (objCheck.CheckSigner(m_objRecord, objSign_VO) == -1) { return(-1); } //保存记录 clsPreModifyInfo objModifyInfo = null; lngRes = objservice.m_lngModifyRecoed(null, m_objRecord); } catch (Exception) { throw; } finally { objservice = null; } return(lngRes); }
protected long m_lngAddNewRecord() { //检查当前病人变量是否为null if (m_objCurrentPatient == null) { return((long)enmOperationResult.Parameter_Error); } if (m_ObjCurrentEmrPatientSession == null) { #if !Debug clsPublicFunction.ShowInformationMessageBox("请选择病人入院日期。"); #endif return(-7); } //获取服务器时间 clsPublicDomain m_objPDomain = new clsPublicDomain(); //从界面获取记录信息 clsAYQBabyAssessmentContent objContent = m_objGetContentFromGUI(); string strDiseaseID = new clsTemplateDomain().m_strGetAssociateIDBySetID(m_strGetTemplateSetID(), (int)enmAssociate.Disease); //界面输入值出错 if (objContent == null) { return((long)enmOperationResult.Parameter_Error); } //设置 clsInPatientCaseHistoryContent 的信息(使用服务器时间设置m_dtmOpenDate和m_dtmModifyDate) objContent.m_bytIfConfirm = 0; objContent.m_bytStatus = 0; objContent.m_dtmInPatientDate = m_objCurrentPatient.m_DtmSelectedInDate; objContent.m_dtmModifyDate = DateTime.Parse(m_objPDomain.m_strGetServerTime()); objContent.m_dtmOpenDate = DateTime.Parse(m_objPDomain.m_strGetServerTime()); //objContent.m_strCreateUserID =MDIParent.strOperatorID; objContent.m_strInPatientID = m_objCurrentPatient.m_StrInPatientID; objContent.m_strModifyUserID = objContent.m_strModifyUserID; objContent.m_dtmCreateDate = DateTime.Parse(this.m_dtpCreateDate.Text); //保存记录 clsPreModifyInfo p_objModifyInfo = null; long lngRes = m_objDomain.m_lngAddNewRecord(objContent, objPicValueArr, strDiseaseID, out p_objModifyInfo); //根据结果做不同的处理 switch ((enmOperationResult)lngRes) { case enmOperationResult.DB_Succeed: m_objCurrentRecordContent = objContent; m_dtmCreatedDate = objContent.m_dtmOpenDate; m_mthHandleAddRecordSucceed(); this.m_dtpCreateDate.Enabled = false; break; case enmOperationResult.Record_Already_Exist: m_mthShowRecordTimeDouble(); return(lngRes); } //返回结果 return(lngRes); }
// 添加新记录。 public long m_lngAddNewRecord(clsBaseCaseHistoryInfo p_objRecordContent, clsPictureBoxValue[] p_objPicValueArr, string p_strDiseaseID, out clsPreModifyInfo p_objModifyInfo) { //参数判断 p_objModifyInfo = null; clsAYQBabyAssessmenEspRecordService objServ = (clsAYQBabyAssessmenEspRecordService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsAYQBabyAssessmenEspRecordService)); long m_lngRes = 0; try { m_lngRes = objServ.m_lngAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, p_objPicValueArr, p_strDiseaseID, clsSystemContext.s_ObjCurrentContext.m_ObjDepartment.m_StrDeptID, out p_objModifyInfo); } finally { //objServ.Dispose(); } return(m_lngRes); }
protected long m_lngAddNewRecord() { //获取服务器时间 string strTimeNow = new clsPublicDomain().m_strGetServerTime(); //从界面获取记录信息 clsTrackRecordContent[] objContent = m_objGetSaveData(); //界面输入值出错 if (objContent == null) { return(-1); } //确定证书 此步很重要 clsDigitalSign.SetStaticCerts(); clsCheckSignersController objCheck = new clsCheckSignersController(); try { this.Cursor = Cursors.WaitCursor; //循环保存 for (int i = 0; i < objContent.Length; i++) { //释放资源响应其他事件 if (objContent[i] != null) { Application.DoEvents(); //设置 clsTrackRecordContent 的信息(使用服务器时间设置m_dtmOpenDate和m_dtmModifyDate) objContent[i].m_dtmOpenDate = DateTime.Parse(strTimeNow); objContent[i].m_dtmModifyDate = DateTime.Parse(strTimeNow); objContent[i].m_bytIfConfirm = 0; objContent[i].m_bytStatus = 0; objContent[i].m_dtmCreateDate = m_dtpCreateDate.Value; if (m_dtRecords.Rows[i]["InDate"].ToString().Trim() == "") { objContent[i].m_dtmInPatientDate = DateTime.Parse("1900-01-01 01:01:01"); } else { objContent[i].m_dtmInPatientDate = DateTime.Parse(m_dtRecords.Rows[i]["InDate"].ToString().Trim()); } objContent[i].m_strConfirmReason = ""; objContent[i].m_strConfirmReasonXML = ""; objContent[i].m_strCreateUserID = MDIParent.OperatorID; //objContent[i].m_strInPatientID=m_objCurrentPatient.m_StrInPatientID; objContent[i].m_strInPatientID = m_dtRecords.Rows[i]["InPatientID"].ToString().Trim(); objContent[i].m_strRegisterID = m_dtRecords.Rows[i]["registerid"].ToString(); //签名 objContent[i].m_strModifyUserID = MDIParent.OperatorID; //记录ID通常为 住院号+住院时间 || 住院号+记录时间 来识别唯一 格式 00000056-2005-10-10 10:20:20 clsEmrDigitalSign_VO objSign_VO = new clsEmrDigitalSign_VO(); objSign_VO.m_strFORMID_VCHR = this.Name; objSign_VO.m_strFORMRECORDID_VCHR = objContent[i].m_strInPatientID.Trim() + "-" + objContent[i].m_dtmInPatientDate.ToString("yyyy-MM-dd HH:mm:ss");; objSign_VO.m_strSIGNIDID_VCHR = clsEMRLogin.LoginInfo.m_strEmpID; objSign_VO.m_strRegisterId = objContent[i].m_strRegisterID; if (objCheck.CheckSigner(objContent, objSign_VO, 0) == -1) { return(-1); } //保存记录 clsPreModifyInfo objModifyInfo = null; long lngRes = m_objDiseaseTrackDomain.m_lngAddNewRecord(objContent[i], out objModifyInfo); } } } finally { this.Cursor = Cursors.Default; } //返回结果 return(1); }
/// <summary> /// 删除记录。 /// </summary> /// <param name="p_objRecordContent">当前要删除的记录</param> /// <param name="p_objModifyInfo">若当前要删除的记录不是最新的记录,返回该最新记录的操作信息,否则为空</param> /// <returns></returns> public abstract long m_lngDeleteRecord(clsTrackRecordContent p_objRecordContent, out clsPreModifyInfo p_objModifyInfo);