From 73b6baf6af3d88cdcb0e2df7932a9bd96b0b85c5 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 01 七月 2024 22:32:34 +0800 Subject: [PATCH] 月度统计出入库按类型汇总报表定时任务和手动跑任务接口 --- proto/inventory_order.proto | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/proto/inventory_order.proto b/proto/inventory_order.proto index ea16e88..4e5cb81 100644 --- a/proto/inventory_order.proto +++ b/proto/inventory_order.proto @@ -10,6 +10,8 @@ rpc UpdateMaterialApplyStatus(UpdateMaterialApplyStatusRequest) returns(UpdateMaterialApplyStatusResponse) {} rpc GetWarehouseInfo(GetWarehouseInfoRequest) returns(GetWarehouseInfoResponse) {} rpc UpdateOutsourceOrder(UpdateOutsourceOrderRequest) returns(UpdateOutsourceOrderResponse) {} + rpc GetOperationInfo(GetOperationInfoRequest) returns(GetOperationInfoResponse) {} + rpc GetWorkerList(GetWorkerListRequest) returns(GetWorkerListResponse) {} } message CreateNewOrderRequest{ @@ -86,4 +88,36 @@ repeated OperationProduct Products = 2; } -message UpdateOutsourceOrderResponse{} \ No newline at end of file +message UpdateOutsourceOrderResponse{} + +//-------------------------------------------------GetOperationInfo----------------------------------------- + +message GetOperationInfoRequest{ + repeated string SourceNumber = 1;//鏉ユ簮缂栫爜 + repeated string SalesDetailsNumber = 2;//閿�鍞槑缁嗙紪鐮� + int64 Status = 3;//鐘舵�� +} + +message GetOperationInfoResponse{ + repeated OperationInfo list = 1; +} + +message OperationInfo { + string SourceNumber = 1;//鏉ユ簮缂栫爜 + string SalesDetailsNumber = 2;//閿�鍞槑缁嗙紪鐮� + string ProductId = 3; + int64 Amount = 4; +} + +//-------------------------------------------------GetWorkerList----------------------------------------- + +message GetWorkerListRequest{ +} + +message WorkerInfo{ + string id = 1; + string name = 2; +} +message GetWorkerListResponse{ + repeated WorkerInfo List = 1; +} \ No newline at end of file -- Gitblit v1.8.0