private void SearchRechargeRecord(DayBenefitReportDetailPara para) { try { if (CommonGlobalUtil.EngineUnconnectioned(this)) { return; } RechargeRecordListPara rechargePara = new RechargeRecordListPara() { ShopID = para.ShopID, PhoneNumber = String.Empty, StartDate = para.StartDate, EndDate = para.EndDate, }; List <RechargeRecord> rechargeRecordList = CommonGlobalCache.ServerProxy.GetRechargeRecordList(rechargePara); BindingDataSource(rechargeRecordList); } catch (Exception ee) { ShowError(ee); } finally { UnLockPage(); } }
public void ShowDialog(DayBenefitReportDetailPara para) { try { this.TopMost = true; this.Show(); ctrl.SearchDetailList(para); this.TopMost = false; } catch (Exception ex) { CommonGlobalUtil.ShowError(ex); } }
private void SearchRetail(DayBenefitReportDetailPara para) { List <DayBenefitReportDetail> listPage = null; try { if (CommonGlobalUtil.EngineUnconnectioned(this)) { return; } listPage = CommonGlobalCache.ServerProxy.GetDayBenefitReportDetail(para); } catch (Exception ee) { ShowError(ee); } finally { this.BindingDataSource(listPage); UnLockPage(); } }
public void SearchDetailList(DayBenefitReportDetailPara para) { SearchRetail(para); SearchRechargeRecord(para); }