From d80428a19673e819440a34f2565b6dbbbe6ac567 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 18 七月 2024 22:32:08 +0800
Subject: [PATCH] fix
---
proto/inventory_order.proto | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/proto/inventory_order.proto b/proto/inventory_order.proto
index 842d991..4e5cb81 100644
--- a/proto/inventory_order.proto
+++ b/proto/inventory_order.proto
@@ -9,6 +9,9 @@
rpc CreateOperationList(CreateOperationListRequest) returns(CreateOperationListResponse) {}
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{
@@ -76,4 +79,45 @@
message GetWarehouseInfoResponse{
repeated WarehouseInfo List = 1;
+}
+
+//-------------------------------------------------UpdateOutsourceOrder-----------------------------------------
+
+message UpdateOutsourceOrderRequest{
+ string OutsourceNumber = 1;
+ repeated OperationProduct Products = 2;
+}
+
+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