From ed81fc8d860adb66676d4990e4ce0ff56cff79a6 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期三, 22 十一月 2023 19:48:16 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS

---
 proto/purchase_wms.proto |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/proto/purchase_wms.proto b/proto/purchase_wms.proto
index 1e8a838..213f11b 100644
--- a/proto/purchase_wms.proto
+++ b/proto/purchase_wms.proto
@@ -7,6 +7,7 @@
   rpc UpdatePurchaseStatus(UpdatePurchaseStatusRequest) returns (UpdatePurchaseStatusResponse) {}
   rpc GetSupplierListByProductId(GetSupplierListByProductIdRequest) returns (GetSupplierListByProductIdResponse) {}
   rpc CreatePurchaseByWms(CreatePurchaseByWmsRequest) returns (CreatePurchaseByWmsResponse) {}
+  rpc GetPurchaseInfo(GetPurchaseInfoRequest) returns (GetPurchaseInfoResponse) {}
 }
 
 //------------------------------------------PurchaseToWms--------------------------------
@@ -62,6 +63,7 @@
   int64 SupplierId = 1;
   string ProductId = 2;
   int64 Amount = 3;
+  string Source = 4;
 }
 
 message CreatePurchaseByWmsResponse {
@@ -70,3 +72,23 @@
   string PurchaseNumber = 3;
 }
 
+//-------------------------------------------------------GetPurchaseInfo---------------------------------------
+
+message GetPurchaseInfoRequest {
+  repeated string PurchaseNumbers = 1;
+}
+
+message PurchaseInfo {
+  string purchaseNumber = 1;
+  string purchaseName = 2;
+  string supplierName = 3;
+  int64 amount = 4;
+  int64 status = 5;
+}
+
+message GetPurchaseInfoResponse {
+  repeated PurchaseInfo Infos = 1;
+}
+
+
+

--
Gitblit v1.8.0