public void GetWarehousePaged() { Query query = new Query(); query.Add(Criterion.Create <Warehouse>(i => i.Id, 0, CriteriaOperator.NotEqual)); ListPaged <Warehouse> a = this._warehouseRsponstroy.PagedFindBy(query, 1, 111); }
public void GetArrivalNotice() { GeArrivalNoticeRequest request = new GeArrivalNoticeRequest(); request.PageIndex = 1; request.PageSize = 10; request.Sate = 1; ListPaged <ArrivalNoticeView> model = this._arrivalNoticeService.GetArrivalNoticePageView(request); }
public static ListPaged <ArrivalNoticeDetailView> ConvertToArrivalNoticeDetailView(this ListPaged <ArrivalNoticeDetail> model) { ListPaged <ArrivalNoticeDetailView> view = new ListPaged <ArrivalNoticeDetailView>(); view.EntityList = model.EntityList.ConvertToArrivalNoticeDetailView().ToList(); view.TotalCount = model.TotalCount; view.PageCount = model.PageCount; view.PageIndex = model.PageIndex; view.PageSize = model.PageSize; return(view); }
public static ListPaged <SpotInventoryView> ConvertToSpotInventoryPagedView(this ListPaged <SpotInventory> model) { ListPaged <SpotInventoryView> view = new ListPaged <SpotInventoryView>(); view.EntityList = model.EntityList.ConvertToSpotInventoryView().ToList(); view.TotalCount = model.TotalCount; view.PageCount = model.PageCount; view.PageIndex = model.PageIndex; view.PageSize = model.PageSize; return(view); }
public static ListPaged <PurchaseOrderView> ConvertToPurchaseOrderPagedView(this ListPaged <PurchaseOrder> model) { ListPaged <PurchaseOrderView> view = new ListPaged <PurchaseOrderView>(); view.EntityList = model.EntityList.ConvertToPurchaseOrderView().ToList(); view.TotalCount = model.TotalCount; view.PageCount = model.PageCount; view.PageIndex = model.PageIndex; view.PageSize = model.PageSize; return(view); }
/// <summary> /// 获取现货库存(分页方法) /// </summary> /// <param name="pageModel"></param> /// <returns></returns> public HttpResponseMessage GetSpotInventoryPaged(int pageIndex, int pageSize, int?productid) { ListPaged <InBoundView> datalist = this._inOutBoundService.GetSpotInventoryPageList(pageIndex, pageSize, productid); return(ToJson(datalist)); }
public HttpResponseMessage GetPurchaseOrderViewHaveStatus([FromUri] GetPurchaseOrderRequest request) { ListPaged <PurchaseOrderView> model = this._purchaseOrderService.GetPurchaseOrderViewHaveStatus(request); return(ToJson(model)); }