zhangqian
2024-04-07 a8914a16b23e93f6bfd12bcfd5cbe8b24cf7eb84
proto/product_inventory/product_inventory_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
// - protoc             v3.19.0
// source: product_inventory.proto
package product_inventory
@@ -13,6 +17,15 @@
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
const (
   ProductInventoryService_CreateOperation_FullMethodName            = "/productInventoryService/CreateOperation"
   ProductInventoryService_GetInventoryProductInfo_FullMethodName    = "/productInventoryService/GetInventoryProductInfo"
   ProductInventoryService_UpdateSalesDetailStatus_FullMethodName    = "/productInventoryService/UpdateSalesDetailStatus"
   ProductInventoryService_GetOrderInputAndOutputInfo_FullMethodName = "/productInventoryService/GetOrderInputAndOutputInfo"
   ProductInventoryService_OrderProductOutput_FullMethodName         = "/productInventoryService/OrderProductOutput"
   ProductInventoryService_GetOutputOperationInfo_FullMethodName     = "/productInventoryService/GetOutputOperationInfo"
)
// ProductInventoryServiceClient is the client API for ProductInventoryService service.
//
@@ -36,7 +49,7 @@
func (c *productInventoryServiceClient) CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*CreateOperationResponse, error) {
   out := new(CreateOperationResponse)
   err := c.cc.Invoke(ctx, "/productInventoryService/CreateOperation", in, out, opts...)
   err := c.cc.Invoke(ctx, ProductInventoryService_CreateOperation_FullMethodName, in, out, opts...)
   if err != nil {
      return nil, err
   }
@@ -45,7 +58,7 @@
func (c *productInventoryServiceClient) GetInventoryProductInfo(ctx context.Context, in *GetInventoryProductInfoRequest, opts ...grpc.CallOption) (*GetInventoryProductInfoResponse, error) {
   out := new(GetInventoryProductInfoResponse)
   err := c.cc.Invoke(ctx, "/productInventoryService/GetInventoryProductInfo", in, out, opts...)
   err := c.cc.Invoke(ctx, ProductInventoryService_GetInventoryProductInfo_FullMethodName, in, out, opts...)
   if err != nil {
      return nil, err
   }
@@ -54,7 +67,7 @@
func (c *productInventoryServiceClient) UpdateSalesDetailStatus(ctx context.Context, in *UpdateSalesDetailStatusRequest, opts ...grpc.CallOption) (*UpdateSalesDetailStatusResponse, error) {
   out := new(UpdateSalesDetailStatusResponse)
   err := c.cc.Invoke(ctx, "/productInventoryService/UpdateSalesDetailStatus", in, out, opts...)
   err := c.cc.Invoke(ctx, ProductInventoryService_UpdateSalesDetailStatus_FullMethodName, in, out, opts...)
   if err != nil {
      return nil, err
   }
@@ -63,7 +76,7 @@
func (c *productInventoryServiceClient) GetOrderInputAndOutputInfo(ctx context.Context, in *GetOrderInputAndOutputInfoRequest, opts ...grpc.CallOption) (*GetOrderInputAndOutputInfoResponse, error) {
   out := new(GetOrderInputAndOutputInfoResponse)
   err := c.cc.Invoke(ctx, "/productInventoryService/GetOrderInputAndOutputInfo", in, out, opts...)
   err := c.cc.Invoke(ctx, ProductInventoryService_GetOrderInputAndOutputInfo_FullMethodName, in, out, opts...)
   if err != nil {
      return nil, err
   }
@@ -72,7 +85,7 @@
func (c *productInventoryServiceClient) OrderProductOutput(ctx context.Context, in *OrderProductOutputRequest, opts ...grpc.CallOption) (*OrderProductOutputResponse, error) {
   out := new(OrderProductOutputResponse)
   err := c.cc.Invoke(ctx, "/productInventoryService/OrderProductOutput", in, out, opts...)
   err := c.cc.Invoke(ctx, ProductInventoryService_OrderProductOutput_FullMethodName, in, out, opts...)
   if err != nil {
      return nil, err
   }
@@ -81,7 +94,7 @@
func (c *productInventoryServiceClient) GetOutputOperationInfo(ctx context.Context, in *GetOutputOperationInfoRequest, opts ...grpc.CallOption) (*GetOutputOperationInfoResponse, error) {
   out := new(GetOutputOperationInfoResponse)
   err := c.cc.Invoke(ctx, "/productInventoryService/GetOutputOperationInfo", in, out, opts...)
   err := c.cc.Invoke(ctx, ProductInventoryService_GetOutputOperationInfo_FullMethodName, in, out, opts...)
   if err != nil {
      return nil, err
   }
@@ -147,7 +160,7 @@
   }
   info := &grpc.UnaryServerInfo{
      Server:     srv,
      FullMethod: "/productInventoryService/CreateOperation",
      FullMethod: ProductInventoryService_CreateOperation_FullMethodName,
   }
   handler := func(ctx context.Context, req interface{}) (interface{}, error) {
      return srv.(ProductInventoryServiceServer).CreateOperation(ctx, req.(*CreateOperationRequest))
@@ -165,7 +178,7 @@
   }
   info := &grpc.UnaryServerInfo{
      Server:     srv,
      FullMethod: "/productInventoryService/GetInventoryProductInfo",
      FullMethod: ProductInventoryService_GetInventoryProductInfo_FullMethodName,
   }
   handler := func(ctx context.Context, req interface{}) (interface{}, error) {
      return srv.(ProductInventoryServiceServer).GetInventoryProductInfo(ctx, req.(*GetInventoryProductInfoRequest))
@@ -183,7 +196,7 @@
   }
   info := &grpc.UnaryServerInfo{
      Server:     srv,
      FullMethod: "/productInventoryService/UpdateSalesDetailStatus",
      FullMethod: ProductInventoryService_UpdateSalesDetailStatus_FullMethodName,
   }
   handler := func(ctx context.Context, req interface{}) (interface{}, error) {
      return srv.(ProductInventoryServiceServer).UpdateSalesDetailStatus(ctx, req.(*UpdateSalesDetailStatusRequest))
@@ -201,7 +214,7 @@
   }
   info := &grpc.UnaryServerInfo{
      Server:     srv,
      FullMethod: "/productInventoryService/GetOrderInputAndOutputInfo",
      FullMethod: ProductInventoryService_GetOrderInputAndOutputInfo_FullMethodName,
   }
   handler := func(ctx context.Context, req interface{}) (interface{}, error) {
      return srv.(ProductInventoryServiceServer).GetOrderInputAndOutputInfo(ctx, req.(*GetOrderInputAndOutputInfoRequest))
@@ -219,7 +232,7 @@
   }
   info := &grpc.UnaryServerInfo{
      Server:     srv,
      FullMethod: "/productInventoryService/OrderProductOutput",
      FullMethod: ProductInventoryService_OrderProductOutput_FullMethodName,
   }
   handler := func(ctx context.Context, req interface{}) (interface{}, error) {
      return srv.(ProductInventoryServiceServer).OrderProductOutput(ctx, req.(*OrderProductOutputRequest))
@@ -237,7 +250,7 @@
   }
   info := &grpc.UnaryServerInfo{
      Server:     srv,
      FullMethod: "/productInventoryService/GetOutputOperationInfo",
      FullMethod: ProductInventoryService_GetOutputOperationInfo_FullMethodName,
   }
   handler := func(ctx context.Context, req interface{}) (interface{}, error) {
      return srv.(ProductInventoryServiceServer).GetOutputOperationInfo(ctx, req.(*GetOutputOperationInfoRequest))