From 8e274b4390a220f91196dc3e33ce98b4333f5e08 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 06 五月 2024 17:58:32 +0800 Subject: [PATCH] fix --- proto/inventory_order.proto | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/proto/inventory_order.proto b/proto/inventory_order.proto index ea16e88..4e5cb81 100644 --- a/proto/inventory_order.proto +++ b/proto/inventory_order.proto @@ -10,6 +10,8 @@ rpc UpdateMaterialApplyStatus(UpdateMaterialApplyStatusRequest) returns(UpdateMaterialApplyStatusResponse) {} rpc GetWarehouseInfo(GetWarehouseInfoRequest) returns(GetWarehouseInfoResponse) {} rpc UpdateOutsourceOrder(UpdateOutsourceOrderRequest) returns(UpdateOutsourceOrderResponse) {} + rpc GetOperationInfo(GetOperationInfoRequest) returns(GetOperationInfoResponse) {} + rpc GetWorkerList(GetWorkerListRequest) returns(GetWorkerListResponse) {} } message CreateNewOrderRequest{ @@ -86,4 +88,36 @@ repeated OperationProduct Products = 2; } -message UpdateOutsourceOrderResponse{} \ No newline at end of file +message UpdateOutsourceOrderResponse{} + +//-------------------------------------------------GetOperationInfo----------------------------------------- + +message GetOperationInfoRequest{ + repeated string SourceNumber = 1;//鏉ユ簮缂栫爜 + repeated string SalesDetailsNumber = 2;//閿�鍞槑缁嗙紪鐮� + int64 Status = 3;//鐘舵�� +} + +message GetOperationInfoResponse{ + repeated OperationInfo list = 1; +} + +message OperationInfo { + string SourceNumber = 1;//鏉ユ簮缂栫爜 + string SalesDetailsNumber = 2;//閿�鍞槑缁嗙紪鐮� + string ProductId = 3; + int64 Amount = 4; +} + +//-------------------------------------------------GetWorkerList----------------------------------------- + +message GetWorkerListRequest{ +} + +message WorkerInfo{ + string id = 1; + string name = 2; +} +message GetWorkerListResponse{ + repeated WorkerInfo List = 1; +} \ No newline at end of file -- Gitblit v1.8.0