From 37a64e6972df2b705670774047c65f9a0ce60ac1 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 03 七月 2024 16:15:10 +0800 Subject: [PATCH] 月度统计定时任务按设定的时间查询相应数据&修复若干bug --- proto/product_inventory.proto | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/proto/product_inventory.proto b/proto/product_inventory.proto index e16130f..b8d0e9b 100644 --- a/proto/product_inventory.proto +++ b/proto/product_inventory.proto @@ -2,6 +2,8 @@ option go_package = "./product_inventory"; +import "common.proto"; + service productInventoryService { rpc CreateOperation(CreateOperationRequest) returns(CreateOperationResponse) {} rpc GetInventoryProductInfo(GetInventoryProductInfoRequest) returns (GetInventoryProductInfoResponse) {} @@ -22,16 +24,6 @@ string ClientName = 8; repeated InventoryProduct ProductList = 9; OperationSource OperationSource = 10; -} - -enum OperationSource { - OperationSourceEmpty = 0; //绌� - OperationSourcePurchase = 1; //閲囪喘鍏ュ簱 - OperationSourceProduction = 2; //鐢熶骇鍏ュ簱 - OperationSourceOutsourcing = 3; //濮斿鍏ュ簱 - OperationSourceProductionApply = 4; //鐢熶骇棰嗘枡 - OperationSourceOutsourcingApply = 5; //濮斿棰嗘枡 - OperationSourceSaleDelivery = 6; //閿�鍞彂璐� } message InventoryProduct{ @@ -128,6 +120,7 @@ message OrderProductOutputRequest { string OrderNumber = 1;//鏄庣粏鍗曠紪鐮� repeated OutputProduct Products= 2;//鍙戣揣鏄庣粏 + int64 warehouseId = 3;//鍙戣揣浠撳簱ID } message OrderProductOutputResponse { -- Gitblit v1.8.0