From 504e4e421bde93344f86df5921199a6c816a45f9 Mon Sep 17 00:00:00 2001 From: dsmzx <dsmzx@123.com> Date: 星期四, 13 六月 2024 16:41:33 +0800 Subject: [PATCH] 出入库调拨产品明细增加备注字段(同步产品的备注字段) --- proto/product_inventory.proto | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/proto/product_inventory.proto b/proto/product_inventory.proto index 35789d9..b8d0e9b 100644 --- a/proto/product_inventory.proto +++ b/proto/product_inventory.proto @@ -2,12 +2,15 @@ option go_package = "./product_inventory"; +import "common.proto"; + service productInventoryService { rpc CreateOperation(CreateOperationRequest) returns(CreateOperationResponse) {} rpc GetInventoryProductInfo(GetInventoryProductInfoRequest) returns (GetInventoryProductInfoResponse) {} rpc UpdateSalesDetailStatus(UpdateSalesDetailStatusRequest) returns (UpdateSalesDetailStatusResponse) {} rpc GetOrderInputAndOutputInfo(GetOrderInputAndOutputInfoRequest) returns (GetOrderInputAndOutputInfoResponse) {} rpc OrderProductOutput(OrderProductOutputRequest) returns (OrderProductOutputResponse) {} + rpc GetOutputOperationInfo(GetOutputOperationInfoRequest) returns (GetOutputOperationInfoResponse) {} } message CreateOperationRequest{ @@ -20,6 +23,7 @@ int64 ClientId = 7; string ClientName = 8; repeated InventoryProduct ProductList = 9; + OperationSource OperationSource = 10; } message InventoryProduct{ @@ -97,7 +101,7 @@ int64 WareHouseID = 16; } message GetOrderInputAndOutputInfoRequest { - string Number = 1;//鏄庣粏鍗曠紪鐮� + string Number = 1;//鏄庣粏鍗曠紪鐮� } message GetOrderInputAndOutputInfoResponse { @@ -116,9 +120,20 @@ message OrderProductOutputRequest { string OrderNumber = 1;//鏄庣粏鍗曠紪鐮� repeated OutputProduct Products= 2;//鍙戣揣鏄庣粏 + int64 warehouseId = 3;//鍙戣揣浠撳簱ID } message OrderProductOutputResponse { int32 Code = 1; string Msg = 2; +} + +//------------------------------------------------------------------------------------------------ + +message GetOutputOperationInfoRequest{ + string Number = 1;//鏄庣粏鍗曠紪鐮� +} + +message GetOutputOperationInfoResponse{ + repeated OutputProduct Products= 1;//鍙戣揣鏄庣粏 } \ No newline at end of file -- Gitblit v1.8.0