From 1cd1206c18ed14dd9ebf2baf477f46c847a271b0 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 15 三月 2024 16:39:19 +0800 Subject: [PATCH] merge --- proto/crm_aps.proto | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 40 insertions(+), 2 deletions(-) diff --git a/proto/crm_aps.proto b/proto/crm_aps.proto index 1676907..a5b4424 100644 --- a/proto/crm_aps.proto +++ b/proto/crm_aps.proto @@ -9,7 +9,9 @@ rpc SendSalesDetailsAndProjectToCrm(SendSalesDetailsAndProjectToCrmRequest) returns(SendSalesDetailsAndProjectToCrmResponse) {} rpc GetClientList(GetClientListRequest) returns(GetClientListResponse) {} rpc UpdateSalesDetail(UpdateSalesDetailRequest) returns(UpdateSalesDetailResponse) {} - rpc RemoveSalesDetail(RemoveSalesDetailRequest) returns(RemoveSalesDetailRequest) {} + rpc RemoveSalesDetail(RemoveSalesDetailRequest) returns(RemoveSalesDetailResponse) {} + rpc CrmGetMakeAndOutsourcingProductInfo(CrmGetMakeAndOutsourcingProductInfoRequest) returns(CrmGetMakeAndOutsourcingProductInfoResponse) {} + rpc GetCrmSalesDetailsProductInfo(GetCrmSalesDetailsProductInfoRequest) returns(GetCrmSalesDetailsProductInfoResponse) {} } //-----------------------------------------------------GetApsProjectList-------------------------------------- @@ -113,4 +115,40 @@ string number = 1;//閿�鍞槑缁嗗崟鍙� } -message RemoveSalesDetailResponse {} \ No newline at end of file +message RemoveSalesDetailResponse {} + +message CrmGetMakeAndOutsourcingProductInfoRequest{ + string SalesDetailsNumber = 1; +} + +message CrmGetMakeAndOutsourcingProductInfo { + int64 Amount = 1; + int64 FinishAmount = 2; + string ProductId = 3; + int64 Type = 4; +} + +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