1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;//报价需求逻辑操作对象
 
        /// <summary>
        /// 初始化
        /// </summary>
        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;
                }
            }
        }
    }
}