Exemple #1
0
        //获取网吧评价列表
        private void GetNetBarEvaluateList()
        {
            StructPage.Builder page = new StructPage.Builder()
            {
                Pagebegin = this.pagebegin,
                Pagesize  = this.pageSize,
                Fieldname = 0,
                Order     = 0
            };


            string member = this.buttonEdit1.Text.Equals(this.buttonEdit1.Properties.NullText)?"": this.buttonEdit1.Text;

            EvaluateNetOperation.GetNetBarEvaluateList(GetNetBarEvaluateListResult, page.Build(), startTime, endTime, member);
        }
        //获取销售记录
        private void GetProductIndentList()
        {
            StructPage.Builder page = new StructPage.Builder()
            {
                Pagebegin = pageBegin,
                Pagesize  = pageSize,
                Fieldname = 0,
                Order     = 0,
            };

            string keyWords = this.buttonEdit1.Text;

            //1提交 2付款完成 3订单处理完成(发货完成)
            //"1提交","2完成","3撤销"
            ProductNetOperation.GetProdcutIndentList(GetProdcutIndentListResult, page.Build(), 2, "", "", "", "", keyWords);
        }
Exemple #3
0
        //会员上网记录查询
        private void GetMemberNetRecord(bool isFilter)
        {
            if (isFilter)
            {
                this.pageView1.InitPageViewData();
            }

            StructPage.Builder page = new StructPage.Builder()
            {
                Pagesize  = pageView1.PageSize,
                Pagebegin = pageView1.PageBegin,
                Fieldname = 0,
                Order     = 0,
            };
            RecordNetOperation.GetUserNetRecord(MemberNetRecordResult, page.Build(), this.startTime, this.endTime, "", mid, -1);
        }
Exemple #4
0
        //获取员工评价列表
        private void GetStaffEvaluateList()
        {
            StructPage.Builder page = new StructPage.Builder()
            {
                Pagebegin = this.pagebegin,
                Pagesize  = this.pageSize,
                Fieldname = 0,
                Order     = 0
            };
            string staff = "";

            if (this.comboBoxEdit1.SelectedIndex >= 0)
            {
                staff = this.staffs[this.comboBoxEdit1.SelectedIndex].Nickname;
            }
            string member = this.buttonEdit1.Text.Equals(this.buttonEdit1.Properties.NullText) ? "" : this.buttonEdit1.Text;

            EvaluateNetOperation.GetStaffEvaluateList(GetStaffEvaluateListResult, page.Build(), this.startTime, this.endTime, staff, member);
        }
Exemple #5
0
        //获取日志数据列表
        private void GetLogList()
        {
            StructPage.Builder page = new StructPage.Builder()
            {
                Pagebegin = this.pagebegin,
                Pagesize  = this.pageSize,
                Fieldname = 0,
                Order     = 0
            };
            string staff = "";

            if (this.comboBoxEdit1.SelectedIndex >= 0)
            {
                staff = this.staffs[this.comboBoxEdit1.SelectedIndex].Nickname;
            }
            string keyword = this.buttonEdit1.Text;

            OtherMainNetOperation.GetLogList(GetLogListResult, page.Build(), startTime, endTime, staff, keyword);
        }
        private void GetUserRechargeRecord()
        {
            StructPage.Builder page = new StructPage.Builder()
            {
                Pagebegin = this.pageBeign,
                Pagesize  = this.pageSize,
                Order     = 1,
                Fieldname = 0,
            };
            string     name       = "";
            PAYCHANNEL paychannel = PAYCHANNEL.无;

            Enum.TryParse <PAYCHANNEL>(this.comboBoxEdit1.Text, out paychannel);

            if (!buttonEdit1.Text.Equals(buttonEdit1.Properties.NullText))
            {
                name = buttonEdit1.Text;
            }
            RecordNetOperation.GetUserRechargeRecord(GetUserRechargeRecordResult, page.Build(), this.startTime, this.endTime, (int)paychannel, name);
        }
Exemple #7
0
        //获取销售记录
        private void GetProductIndentList()
        {
            StructPage.Builder page = new StructPage.Builder()
            {
                Pagebegin = pageBegin,
                Pagesize  = pageSize,
                Fieldname = 0,
                Order     = 0,
            };

            string keyWords = null;

            if (!this.buttonEdit1.Text.Equals(this.buttonEdit1.Properties.NullText))
            {
                keyWords = this.buttonEdit1.Text;
            }
            int status = this.comboBoxEdit1.SelectedIndex + 1;

            ProductNetOperation.GetProdcutIndentList(GetProdcutIndentListResult, page.Build(), status, addStart, addEnd, handleStart, handleEnd, keyWords);
        }
        //用户消费记录查询
        private void GetUserConsumeRecord(bool isFilter)
        {
            if (isFilter)
            {
                this.pageView1.InitPageViewData();
            }
            CONSUMEUSE consume = CONSUMEUSE.无;

            Enum.TryParse <CONSUMEUSE>(this.useComboBoxEdit.Text, out consume);

            PAYCHANNEL paychannel = PAYCHANNEL.无;

            Enum.TryParse <PAYCHANNEL>(this.payChannelComboBoxEdit.Text, out paychannel);

            StructPage.Builder page = new StructPage.Builder()
            {
                Pagesize  = pageView1.PageSize,
                Pagebegin = pageView1.PageBegin,
                Fieldname = 0,
                Order     = 0,
            };
            RecordNetOperation.GetUserConsumeRecord(GetUserConsumeRecordResult, page.Build(), this.startTime, this.endTime, (int)consume, (int)paychannel, -1);
        }
        private void GetProductList()
        {
            Int32 category = -1;

            if (this.comboBoxEdit1.SelectedIndex > 0)
            {
                category = this.productTypes[this.comboBoxEdit1.SelectedIndex - 1].typeId;
            }

            string keyWords = "";

            if (!this.buttonEdit1.Text.Equals(this.buttonEdit1.Properties.NullText))
            {
                keyWords = this.buttonEdit1.Text;
            }
            StructPage.Builder page = new StructPage.Builder()
            {
                Pagesize  = pageSize,
                Pagebegin = pageBegin,
                Fieldname = 0,
                Order     = 0,
            };
            ProductNetOperation.GetProductList(GetProductListResult, page.Build(), category, keyWords);
        }
 private void GetStaffShiftsRecord()
 {
     StructPage.Builder page = new StructPage.Builder()
     {
         Pagebegin = 0,
         Pagesize  = 15,
         Order     = 1,
         Fieldname = 0,
     };
     System.Console.WriteLine("start" + startTime + "\nend:" + endTime);
     StaffNetOperation.GetStaffShiftsRecordList(GetStaffShiftsRecordListResult, page.Build(), startTime, endTime);
 }