From c950586b718ae6fc198bedf424609a4ac94cb5d1 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 04 七月 2024 18:16:07 +0800 Subject: [PATCH] 增加根据位置或仓库查询产品及库存列表 --- request/location_product_amount.go | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/request/location_product_amount.go b/request/location_product_amount.go index 6b34041..4deb759 100644 --- a/request/location_product_amount.go +++ b/request/location_product_amount.go @@ -2,7 +2,13 @@ import ( "github.com/shopspring/decimal" + "wms/models" ) + +type GetList struct { + PageInfo + Keyword string `json:"keyword"` +} type AddLocationProductAmount struct { AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸�� @@ -33,3 +39,14 @@ ProductId string `json:"productId"` //浜у搧id LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id } + +type GetLocationProductList struct { + PageInfo + Keyword string `json:"keyword"` + WarehouseId int `json:"warehouseId"` + LocationId int `json:"locationId"` +} + +type GetLocationProductListResponse struct { + models.Material +} -- Gitblit v1.8.0