From dd97f2626579ca8be69b9b6d68ce9d592b62eb6a Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 22 十二月 2023 15:03:26 +0800
Subject: [PATCH] 使用系统设置修改
---
proto/product.proto | 48 ++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 42 insertions(+), 6 deletions(-)
diff --git a/proto/product.proto b/proto/product.proto
index aec49ae..0cb50ec 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{
@@ -12,8 +13,8 @@
}
message GetProductInfoResponse{
- int32 Code = 1;
- string Msg = 2;
+ int32 Code = 1;
+ string Msg = 2;
Product Data = 3;
}
message Product {
@@ -24,8 +25,12 @@
double SalePrice = 5; //閿�鍞环鏍�
float Amount = 6;//搴撳瓨鍓╀綑閲�
int32 MinInventory = 7;//瀹夊叏搴撳瓨
- string MaterialMode = 8; //鐗╂枡绫诲瀷
- string PurchaseType = 9;//閲囪喘绫诲瀷
+ int32 MaxInventory = 8; // 鏈�澶у簱瀛�
+ string MaterialMode = 9; //鐗╂枡绫诲瀷
+ string PurchaseType = 10;//閲囪喘绫诲瀷
+ string Node = 11; // 澶囨敞
+ string Type = 12; // 鍨嬪彿
+ string Specs = 13; // 瑙勬牸
}
message GetProductListRequest{
@@ -36,8 +41,39 @@
}
message GetProductListResponse{
- int32 Code = 1;
- string Msg = 2;
+ int32 Code = 1;
+ 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;
+}
+
+message CrmGetPurchaseInfo {
+ string PurchaseNumber = 1;
+ string PurchaseName = 2;
+ string SupplierName = 3;
+ int64 Amount = 4;
+ int64 Status = 5;
+}
+
+message GetProductOrderResponse{
+ int32 Code = 1;
+ string Msg = 2;
+ repeated WorkOrderInfo List = 3;//鍒堕�犱俊鎭�
+ repeated CrmGetPurchaseInfo PurchaseList = 4;//閲囪喘淇℃伅
}
\ No newline at end of file
--
Gitblit v1.8.0