using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.BLL; using CY.Model; using CY.Infrastructure.Query; using CY.Infrastructure.Common; using CY.BLL.Sys; using CY.Model.Inquiry; namespace CY.WebForm.Pages.business { public partial class CorporateClientsVisit : BasePage { OA_CorporateClientsBLL bll_OA_CorporateClientsBLL = null; Sys_DictionaryBLL bll_Sys_DictionaryBLL = null;//字典业务逻辑操作类对象 SysInquiry_PrintingTypeBLL bll_SysInquiry_PrintingTypeBLL = null;//印刷业务类型业务逻辑操作类对象 //初始化 public CorporateClientsVisit() { bll_OA_CorporateClientsBLL = new OA_CorporateClientsBLL(); bll_Sys_DictionaryBLL = new Sys_DictionaryBLL(); bll_SysInquiry_PrintingTypeBLL = new SysInquiry_PrintingTypeBLL(); } //页面加载 protected void Page_Load(object sender, EventArgs e) { if (Request["Keyid"] != null || Request["MemberId"] != null) { OA_CorporateClients m_OA_CorporateClients = bll_OA_CorporateClientsBLL.GetModelDetail(Request["Keyid"].ToGuid2()); this.spanCompanyName.InnerText = m_OA_CorporateClients.CompanyName; this.spanBusinessManagerId.InnerText = m_OA_CorporateClients.BusinessmanagerName; this.spanprintdate.InnerText = DateTime.Now.ToString("yyyy-MM-dd"); this.RepClientList.DataSource = bll_OA_CorporateClientsBLL.SelectVisitListByCorId(Request["Keyid"].ToGuid2()); this.RepClientList.DataBind(); } } } }