From 527bc709815b9ea0f2ed14450262c9a5832c141f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 14 三月 2024 16:09:26 +0800 Subject: [PATCH] 根据仓库返回产品剩余数量 --- proto/product_inventory.proto | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/proto/product_inventory.proto b/proto/product_inventory.proto index 66cab98..981011c 100644 --- a/proto/product_inventory.proto +++ b/proto/product_inventory.proto @@ -34,6 +34,7 @@ message GetInventoryProductInfoRequest { string Number = 1;//鏄庣粏鍗曠紪鐮� + bool GroupByWarehouse = 2; //鏄惁鎸変粨搴撳垎缁� } message ProductInfo{ @@ -55,8 +56,16 @@ int32 Code = 1; string Msg = 2; repeated ProductInfo ProductList = 3; + repeated WarehouseProducts WarehouseProductsList = 4; } +message WarehouseProducts { + string WarehouseID = 1; + string WarehouseName = 2; + repeated ProductInfo ProductList = 3; +} + + //------------------------------------------------------------ message UpdateSalesDetailStatusRequest { -- Gitblit v1.8.0