Exemplo n.º 1
0
        private DbQueryResult GetData(string sortBy, SortAction sortOrder)
        {
            this.LoadParameters();
            PODeclareListQuery PODeclareListQuery = new PODeclareListQuery
            {
                PageSize  = this.pager.PageSize,
                PageIndex = this.pager.PageIndex,
                SortOrder = sortOrder,
                SortBy    = sortBy,
                StartDate = this.startDate,
                EndDate   = this.endDate,
                //POCDStatus = this.POCDStatus,
                fromID   = this.fromID,
                PONumber = this.poNumber
            };

            Globals.EntityCoding(PODeclareListQuery, true);
            return(PurchaseOrderHelper.GetPODeclareList(PODeclareListQuery));
        }
Exemplo n.º 2
0
 public static DbQueryResult GetPODeclareList(PODeclareListQuery PODeclareListQuery)
 {
     return(new PurchaseOrderDao().GetPODeclareList(PODeclareListQuery));
 }