From 02a2176f7c5733a4e4c4429c2028bbb86a967ce7 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期二, 06 二月 2024 10:13:38 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/SRM

---
 proto/purchase_wms.proto |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/proto/purchase_wms.proto b/proto/purchase_wms.proto
index 213f11b..8ae8034 100644
--- a/proto/purchase_wms.proto
+++ b/proto/purchase_wms.proto
@@ -8,6 +8,7 @@
   rpc GetSupplierListByProductId(GetSupplierListByProductIdRequest) returns (GetSupplierListByProductIdResponse) {}
   rpc CreatePurchaseByWms(CreatePurchaseByWmsRequest) returns (CreatePurchaseByWmsResponse) {}
   rpc GetPurchaseInfo(GetPurchaseInfoRequest) returns (GetPurchaseInfoResponse) {}
+  rpc ExistSupplier(ExistSupplierRequest) returns (ExistSupplierResponse) {}
 }
 
 //------------------------------------------PurchaseToWms--------------------------------
@@ -20,12 +21,14 @@
 message PurchaseToWmsRequest {
   string Number = 1; //閲囪喘缂栧彿
   string SupplierName = 2; //渚涘簲鍟�
-  repeated PurchaseProduct Product = 3;
+  string Source = 3;//鏉ユ簮
+  repeated PurchaseProduct Product = 4;
 }
 
 message PurchaseToWmsResponse {
   int32 code = 1;
   string message = 2;
+  string Warehouse = 3;
 }
 
 //------------------------------------------------UpdatePurchaseStatus-------------------------------------
@@ -90,5 +93,15 @@
   repeated PurchaseInfo Infos = 1;
 }
 
+//--------------------------------------------------ExistSupplier---------------------------------------
+
+message ExistSupplierRequest {
+  repeated string ProductId = 1;
+}
+
+message ExistSupplierResponse {
+  bool Exist = 1;
+}
+
 
 

--
Gitblit v1.8.0