From f80c6068d5e2ae5b9101125497b4de88726e1d9e Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期日, 07 四月 2024 21:44:58 +0800
Subject: [PATCH] 发货接口增加仓库ID

---
 proto/product.proto |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/proto/product.proto b/proto/product.proto
index 3727bcc..bcd3146 100644
--- a/proto/product.proto
+++ b/proto/product.proto
@@ -5,6 +5,7 @@
 service productService {
   rpc GetProductInfo(GetProductInfoRequest) returns(GetProductInfoResponse) {}
   rpc GetProductList(GetProductListRequest) returns(GetProductListResponse) {}
+  rpc GetProductOrder(GetProductOrderRequest) returns (GetProductOrderResponse) {}
 }
 
 message GetProductInfoRequest{
@@ -44,4 +45,58 @@
   string  Msg = 2;
   repeated Product List = 3;
   int64 Total = 4;
+}
+
+//-------------------------------------------------------------
+
+message GetProductOrderRequest {
+  string SalesDetailsNumber= 1;
+}
+
+message WorkOrderInfo{
+  string OrderId = 1;
+  string ProductName = 2;
+  string OrderStatus = 3;
+  string WorkOrderId = 4;
+  string WorkOrderStatus = 5;
+  string StartTime = 6;
+  string EndTime = 7;
+  string ProductId = 8;
+  string Specs = 9;//鐗╂枡瑙勬牸
+  string Unit = 10;//鍗曚綅
+  int64 Amount = 11;//璁㈠崟鏁伴噺
+  int64 FinishAmount = 12;//瀹屾垚鏁伴噺
+}
+
+message CrmGetPurchaseInfo {
+  string PurchaseNumber = 1;
+  string PurchaseName = 2;
+  string SupplierName = 3;
+  int64 Amount = 4;//璁㈠崟鏁伴噺
+  int64 Status = 5;
+  string ProductName = 6;
+  string ProductId = 7;
+  string Specs = 8;//鐗╂枡瑙勬牸
+  string Unit = 9;//鍗曚綅
+  int64 FinishAmount = 10;//瀹屾垚鏁伴噺
+}
+
+message OutsourcingInfo {
+  string OutsourcingId = 1;
+  string ProductName = 2;
+  string OutsourcingStatus = 3;
+  string SupplierName = 4;
+  string StartTime = 5;
+  string EndTime = 6;
+  string ProductId = 7;
+  string Specs = 8;//鐗╂枡瑙勬牸
+  string Unit = 9;//鍗曚綅
+  int64 Amount = 10;//璁㈠崟鏁伴噺
+  int64 FinishAmount = 11;//瀹屾垚鏁伴噺
+}
+
+message GetProductOrderResponse{
+  repeated WorkOrderInfo List = 1;//鍒堕�犱俊鎭�
+  repeated CrmGetPurchaseInfo PurchaseList = 2;//閲囪喘淇℃伅
+  repeated OutsourcingInfo OutsourcingList = 3;//濮斿淇℃伅
 }
\ No newline at end of file

--
Gitblit v1.8.0