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 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/proto/inventory_order.proto b/proto/inventory_order.proto index 842d991..4e5cb81 100644 --- a/proto/inventory_order.proto +++ b/proto/inventory_order.proto @@ -9,6 +9,9 @@ rpc CreateOperationList(CreateOperationListRequest) returns(CreateOperationListResponse) {} 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{ @@ -76,4 +79,45 @@ message GetWarehouseInfoResponse{ repeated WarehouseInfo List = 1; +} + +//-------------------------------------------------UpdateOutsourceOrder----------------------------------------- + +message UpdateOutsourceOrderRequest{ + string OutsourceNumber = 1; + repeated OperationProduct Products = 2; +} + +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