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.BLL.EC; using CY.Model; using CY.Infrastructure.Common; namespace CY.WebForm.Pages.front { public partial class QuoteDemandDeatil : FrontBasePage { public bool IsLogin = false; EC_QuoteDemandBLL _eC_QuoteDemandBLL = null;//报价需求逻辑操作对象 /// /// 初始化 /// public QuoteDemandDeatil() { _eC_QuoteDemandBLL = new EC_QuoteDemandBLL(); } protected void Page_Load(object sender, EventArgs e) { if (CurrentUser != null) { EC_QuoteDemand eC_QuoteDemand = null; eC_QuoteDemand = _eC_QuoteDemandBLL.SelectModleById(Request["id"].ToInt32() ?? 0); if (CurrentUser.MemberType == "印刷厂商" || eC_QuoteDemand.MemberId == CurrentUser.MemberId) { IsLogin = true; } } } } }