Hidistro.UI.Web/Admin/Sales/HuiTou.cs

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

namespace Hidistro.UI.Web.Admin.Sales
{
    using Hidistro.ControlPanel.VShop;
    using Hidistro.Entities.StatisticsReport;
    using Hidistro.UI.ControlPanel.Utility;
    using Hidistro.UI.Web.Admin.Ascx;
    using System;
    using System.Collections.Specialized;
    using System.Data;
    using System.Drawing;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public class HuiTou : AdminPage
    {
        private DateTime? BeginDate;
        protected Button btnMonthView;
        protected Button btnSearch;
        protected Button btnWeekView;
        public int BuyerNumber;
        public string DateList;
        private DateTime? EndDate;
        protected HtmlForm form1;
        private int lastDay;
        public int OldMember;
        public string OldMemberPercent;
        public string QtyListAll;
        public string QtyListNew;
        public string QtyListOld;
        private int Top;
        protected ucDateTimePicker txtBeginDate;
        protected ucDateTimePicker txtEndDate;

        protected HuiTou() : base("m10", "tjp03")
        {
            this.OldMemberPercent = "0";
            this.Top = 10;
            this.QtyListOld = "";
            this.QtyListNew = "";
            this.QtyListAll = "";
            this.DateList = "";
        }

        private void BindData()
        {
            DataSet set = ShopStatisticHelper.GetOrder_Member_Rebuy(this.BeginDate.Value, this.EndDate.Value);
            DataTable table = set.Tables[0];
            foreach (DataRow row in table.Rows)
            {
                this.OldMember += base.GetFieldIntValue(row, "OldBuy");
                this.BuyerNumber += base.GetFieldIntValue(row, "totalBuy");
            }
            this.OldMemberPercent = "0";
            if (this.BuyerNumber > 0)
            {
                this.OldMemberPercent = ((Convert.ToDecimal(this.OldMember) / Convert.ToDecimal(this.BuyerNumber)) * 100M).ToString("N2");
            }
            DataTable table2 = set.Tables[1];
            DataTable table3 = new DataTable();
            table3.Columns.Add("PayDate", typeof(string));
后面还有 137 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。