From f8199011df53b4d88ce1268e8e1ff4196a9ef127 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 28 十二月 2023 14:57:00 +0800 Subject: [PATCH] 查看物料有没有供应商 --- proto/purchase_wms.proto | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/proto/purchase_wms.proto b/proto/purchase_wms.proto index c344dfd..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-------------------------------- @@ -92,5 +93,15 @@ repeated PurchaseInfo Infos = 1; } +//--------------------------------------------------ExistSupplier--------------------------------------- + +message ExistSupplierRequest { + repeated string ProductId = 1; +} + +message ExistSupplierResponse { + bool Exist = 1; +} + -- Gitblit v1.8.0