Hidistro.UI.Web/Admin/Sales/SaleReport.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 SaleReport : AdminPage
    {
        private DateTime? BeginDate;
        protected Button btnMonthView;
        protected Button btnSearch;
        protected Button btnWeekView;
        public decimal BuyerAvgPrice;
        public decimal BuyerNumber;
        public string DateListA;
        public string DateListB;
        private DateTime? EndDate;
        protected HtmlForm form1;
        private int lastDay;
        public int NewAgentNumber;
        public int NewMemberNumber;
        public decimal OrderNumber;
        public string QtyListA1;
        public string QtyListA2;
        public string QtyListB1;
        public string QtyListB2;
        public decimal SaleAmountFee;
        protected ucDateTimePicker txtBeginDate;
        protected ucDateTimePicker txtEndDate;

        protected SaleReport() : base("m10", "tjp01")
        {
            this.DateListA = "";
            this.DateListB = "";
            this.QtyListA1 = "";
            this.QtyListA2 = "";
            this.QtyListB1 = "";
            this.QtyListB2 = "";
        }

        private void BindData()
        {
            DateTime beginDate = DateTime.Today.AddDays(-6.0);
            if (this.txtBeginDate.TextToDate.HasValue)
            {
                beginDate = DateTime.Parse(this.txtBeginDate.TextToDate.Value.ToString());
            }
            DateTime now = DateTime.Now;
            if (this.txtEndDate.TextToDate.HasValue)
            {
                now = DateTime.Parse(this.txtEndDate.TextToDate.Value.ToString());
            }
            DataRow drOne = ShopStatisticHelper.GetOrder_Member_CountInfo(beginDate, now);
后面还有 150 行代码,购买后查看完整代码

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

AI 解读 AI

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

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