private ItemAdjustQueryCodition GetCondition()
    {
        var condition = new ItemAdjustQueryCodition();

        if (!string.IsNullOrEmpty(tbOrderNo.Text))
        {
            condition.OrderNo = tbOrderNo.Text;
        }
        if (!string.IsNullOrEmpty(selOrderDate.Value))
        {
            condition.OrderDate = selOrderDate.Value;
        }
        if (!string.IsNullOrEmpty(selBeginDate.Value))
        {
            condition.BeginDate = selBeginDate.Value;
        }
        if (!string.IsNullOrEmpty(selEndDate.Value))
        {
            condition.EndDate = selEndDate.Value;
        }
        if (selItemPriceType.SelectedIndex != 0)
        {
            condition.PriceType = selItemPriceType.SelectedValue;
        }
        if (selStatus.SelectedIndex != 0)
        {
            condition.PriceStatus = selStatus.SelectedValue;
        }
        return(condition);
    }
 protected void btnQuery_Click(object sender, EventArgs e)
 {
     this.QueryCondition = GetCondition();
     Query(this.gvPriceAdjust.PageIndex);
 }