From fe9a8f47ea30dbd9637c803563abd74bda46900a Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 06 五月 2024 17:24:11 +0800
Subject: [PATCH] 每月1号执行
---
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