username@email.com
2022-01-21 b18a7c8e54b51a5caa400e55cb8cc428c0301a0c
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CY.Model;
using CY.BLL.EC;
using CY.BLL;
using CY.Infrastructure.Common;
namespace CY.WebForm.Pages.webmanage
{
    public partial class PrizeInfoDetail : BasePage
    {
        EC_PrizeInfoBLL _EC_PrizeInfoBLL = null;
        EC_PrizeInfo prizeInfo = null;
        public PrizeInfoDetail()
        {
            _EC_PrizeInfoBLL = new EC_PrizeInfoBLL();
            prizeInfo = new EC_PrizeInfo();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bindPrizeInfo();
            }
 
        }
        /// <summary>
        /// 显示详细奖品信息
        /// </summary>
        public void bindPrizeInfo() 
        {
            prizeInfo = _EC_PrizeInfoBLL.getOnePrizeInfo(Request["Keyid"].ToInt32());
            this.spanRemark.InnerText = prizeInfo.Remark;
            this.spnAllCount.InnerText = prizeInfo.AllCount.ToString2();
            this.spnCommoditycode.InnerText = prizeInfo.Commoditycode.ToString2();
            this.spnExchangedCount.InnerText = prizeInfo.ExchangedCount.ToString2();
            this.spnIsUsed.InnerText = true.Equals(prizeInfo.IsUsed)?"是":"否";
            this.spnLastUpdateTime.InnerText = prizeInfo.LastUpdateTime.ToString2();
 
            this.spnNeedIntegral.InnerText = prizeInfo.NeedIntegral.ToString2();
            this.spnOperator.InnerText = prizeInfo.Operator;
            this.spnOrderCode.InnerText = prizeInfo.OrderCode;
            this.spnPrizeName.InnerText = prizeInfo.PrizeName;
            this.spnSingleExCount.InnerText = prizeInfo.ExchangedCount.ToString2();
            this.spnPrizeAddress.InnerText = prizeInfo.PrizeReciveAddress.Address;
            this.FileId.Src = string.IsNullOrEmpty(prizeInfo.FileId) ? "~/images/Upload/暂无图片.jpg" : prizeInfo.FileId;
            
        
        
        
        
        
        }
    }
}