/// <summary> /// 保存皮试 /// </summary> public void SaveOrderFeel2() { //验证输入 if (!IsPassValidate()) { return; } FillOrderFeel_VO(out this.m_objViewer.p_objRecord); long lngRes = 0; string p_strRecordID = ""; //if (m_strOrderFeelID != string.Empty) //{ // //修改 // lngRes = m_objManage.m_lngModifyOrderFeel(p_objRecord); //} //else //{ // //新增皮试 // lngRes = m_objManage.m_lngAddNewOrderFeel(out p_strRecordID, p_objRecord); //} //修改 lngRes = m_objManage.m_lngModifyOrderFeelEnd(this.m_objViewer.p_objRecord); if (lngRes <= 0) { MessageBox.Show(m_objViewer, "保存失败!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (p_strRecordID != string.Empty) { m_strOrderFeelID = p_strRecordID; } MessageBox.Show(m_objViewer, "保存成功!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information); //m_objViewer.m_intResult = 1; //m_objViewer.m_objFeelEdit.m_intExitState = 1; //m_objViewer.m_objFeelEdit.m_intFeelResult = p_objRecord.m_intRESULTTYPE_INT; //m_objViewer.m_objFeelEdit.m_strFeelResult = (p_objRecord.m_intRESULTTYPE_INT == 1) ? "阴性" : "阳性"; this.m_objViewer.DialogResult = DialogResult.OK; }