From 6da26bae86d3a213c193a8d81e3a1f24f149a2a1 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 15 三月 2024 14:36:55 +0800
Subject: [PATCH] aps获取crm信息

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

diff --git a/proto/crm_aps.proto b/proto/crm_aps.proto
index 3e1ddc8..a5b4424 100644
--- a/proto/crm_aps.proto
+++ b/proto/crm_aps.proto
@@ -11,6 +11,7 @@
   rpc UpdateSalesDetail(UpdateSalesDetailRequest) returns(UpdateSalesDetailResponse) {}
   rpc RemoveSalesDetail(RemoveSalesDetailRequest) returns(RemoveSalesDetailResponse) {}
   rpc CrmGetMakeAndOutsourcingProductInfo(CrmGetMakeAndOutsourcingProductInfoRequest) returns(CrmGetMakeAndOutsourcingProductInfoResponse) {}
+  rpc GetCrmSalesDetailsProductInfo(GetCrmSalesDetailsProductInfoRequest) returns(GetCrmSalesDetailsProductInfoResponse) {}
 }
 
 //-----------------------------------------------------GetApsProjectList--------------------------------------
@@ -129,4 +130,25 @@
 
 message CrmGetMakeAndOutsourcingProductInfoResponse{
   repeated CrmGetMakeAndOutsourcingProductInfo Info = 1;
+}
+
+message GetCrmSalesDetailsProductInfoRequest{
+  string SalesDetailsNumber = 1;
+}
+
+message CrmSalesDetailsProductInfo{
+  string ProductId = 1;
+  string ProductName = 2;
+  string Specs = 3;
+  string Unit = 4;
+  int64 Amount = 5;
+  string Cost = 6; //浜у搧鎴愭湰
+  int64 Price = 7; //浜у搧浠锋牸
+  int64 Total = 8;//浜у搧鎬讳环
+  string Profit = 9;//姣涘埄
+  string Margin = 10;//姣涘埄鐜�
+}
+
+message GetCrmSalesDetailsProductInfoResponse{
+  repeated CrmSalesDetailsProductInfo List = 1;
 }
\ No newline at end of file

--
Gitblit v1.8.0