From 9e36cf6dfbd916a1a5fd79d628887972a90d9b5e Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 07 十一月 2023 14:32:32 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm --- proto/product.proto | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/proto/product.proto b/proto/product.proto index 3727bcc..c75cf26 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,31 @@ string Msg = 2; repeated Product List = 3; int64 Total = 4; +} + +//------------------------------------------------------------- + +message Info { + string ProductId = 1; + string Time = 2; +} + +message GetProductOrderRequest { + repeated Info Params = 1; +} + +message WorkOrderInfo{ + string OrderId = 1; + string ProductName = 2; + string OrderStatus = 3; + string WorkOrderId = 4; + string WorkOrderStatus = 5; + string StartTime = 6; + string EndTime = 7; +} + +message GetProductOrderResponse{ + int32 Code = 1; + string Msg = 2; + repeated WorkOrderInfo List = 3; } \ No newline at end of file -- Gitblit v1.8.0