コード例 #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);
        }
コード例 #2
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);
        }