public void m_mthQueryReports(string p_strComfirmState, string p_strPatientName, string p_strInhospNO, string p_strAppDept, string p_strAppDoct, string p_strBedNO, string p_strFromDatApp, string p_strToDatApp) { clsLISApplicationSchVO objSchVO = new clsLISApplicationSchVO(); objSchVO.m_strConfirmState = p_strComfirmState; objSchVO.m_strPatientName = p_strPatientName; objSchVO.m_strInhospNO = p_strInhospNO; objSchVO.m_strAppDept = p_strAppDept; objSchVO.m_strAppDoct = p_strAppDoct; objSchVO.m_strBedNO = p_strBedNO; objSchVO.m_strFromDatApp = p_strFromDatApp; objSchVO.m_strToDatApp = p_strToDatApp; this.m_objController.m_mthQueryReports(objSchVO); }
private void m_btnQuery_Click(object sender, System.EventArgs e) { this.m_btnQuery.Enabled = false; Cursor.Current = Cursors.WaitCursor; string strPatientName = this.m_txtPatientNameQuery.Text.Trim(); string[] strSampleGroupIDArr = null; string strInhospNO = this.m_txtInhospNO.Text.Trim(); string strBedNO = this.m_txtBedNO.Text.Trim(); string strAppDept = this.m_txtAppDept.m_StrDeptID; string strAppDoct = this.m_txtAppDoct.m_StrEmployeeID; string strPatientCardNO = this.m_txtPatientCardNO.Text.Trim(); string strConfirmed = "3"; if (this.m_cboConfirmState.Text == "未审核") { strConfirmed = "1"; } else if (this.m_cboConfirmState.Text == "已审核") { strConfirmed = "2"; } string strFromDateApp = this.m_dtpFromDate.Value.ToString("yyyy-MM-dd 00:00:00"); string strToDateApp = this.m_dtpToDate.Value.ToString("yyyy-MM-dd 23:59:59"); clsLISApplicationSchVO objSchVO = new clsLISApplicationSchVO(); objSchVO.m_strConfirmState = strConfirmed; objSchVO.m_strPatientName = strPatientName; objSchVO.m_strInhospNO = strInhospNO; objSchVO.m_strAppDept = strAppDept; objSchVO.m_strAppDoct = strAppDoct; objSchVO.m_strBedNO = strBedNO; objSchVO.m_strFromDatApp = strFromDateApp; objSchVO.m_strToDatApp = strToDateApp; objSchVO.m_strSampleGroupIDArr = strSampleGroupIDArr; objSchVO.m_strPatientCardNO = strPatientCardNO; this.m_objController.m_mthQueryReports(objSchVO); this.m_btnQuery.Enabled = true; Cursor.Current = Cursors.Default; }
public void m_mthQueryReports(clsLISApplicationSchVO p_objSchVO) { clsLisApplMainVO[] objAppVOArr = null; long lngRes = new clsDomainController_ApplicationManage().m_lngGetAppInfoByCondition( p_objSchVO, out objAppVOArr); if (objAppVOArr == null || objAppVOArr.Length == 0) { MessageBox.Show(this.m_objViewer, "没有找到符合条件的记录!", c_strMessageBoxTitle); } else { this.m_objViewer.m_lsvReportList.Items.Clear(); for (int i = 0; i < objAppVOArr.Length; i++) { this.m_objViewer.m_lsvReportList.BeginUpdate(); m_mthReportListAddReport(objAppVOArr[i]); this.m_objViewer.m_lsvReportList.EndUpdate(); } } }