| | |
| | | CreateNewOrder(ctx context.Context, in *CreateNewOrderRequest, opts ...grpc.CallOption) (*CreateNewOrderResponse, error) |
| | | CreateOperationList(ctx context.Context, in *CreateOperationListRequest, opts ...grpc.CallOption) (*CreateOperationListResponse, error) |
| | | UpdateMaterialApplyStatus(ctx context.Context, in *UpdateMaterialApplyStatusRequest, opts ...grpc.CallOption) (*UpdateMaterialApplyStatusResponse, error) |
| | | GetWarehouseInfo(ctx context.Context, in *GetWarehouseInfoRequest, opts ...grpc.CallOption) (*GetWarehouseInfoResponse, error) |
| | | } |
| | | |
| | | type inventoryOrderServiceClient struct { |
| | |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *inventoryOrderServiceClient) GetWarehouseInfo(ctx context.Context, in *GetWarehouseInfoRequest, opts ...grpc.CallOption) (*GetWarehouseInfoResponse, error) { |
| | | out := new(GetWarehouseInfoResponse) |
| | | err := c.cc.Invoke(ctx, "/inventoryOrderService/GetWarehouseInfo", in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | // InventoryOrderServiceServer is the server API for InventoryOrderService service. |
| | | // All implementations must embed UnimplementedInventoryOrderServiceServer |
| | | // for forward compatibility |
| | |
| | | CreateNewOrder(context.Context, *CreateNewOrderRequest) (*CreateNewOrderResponse, error) |
| | | CreateOperationList(context.Context, *CreateOperationListRequest) (*CreateOperationListResponse, error) |
| | | UpdateMaterialApplyStatus(context.Context, *UpdateMaterialApplyStatusRequest) (*UpdateMaterialApplyStatusResponse, error) |
| | | GetWarehouseInfo(context.Context, *GetWarehouseInfoRequest) (*GetWarehouseInfoResponse, error) |
| | | mustEmbedUnimplementedInventoryOrderServiceServer() |
| | | } |
| | | |
| | |
| | | } |
| | | func (UnimplementedInventoryOrderServiceServer) UpdateMaterialApplyStatus(context.Context, *UpdateMaterialApplyStatusRequest) (*UpdateMaterialApplyStatusResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method UpdateMaterialApplyStatus not implemented") |
| | | } |
| | | func (UnimplementedInventoryOrderServiceServer) GetWarehouseInfo(context.Context, *GetWarehouseInfoRequest) (*GetWarehouseInfoResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method GetWarehouseInfo not implemented") |
| | | } |
| | | func (UnimplementedInventoryOrderServiceServer) mustEmbedUnimplementedInventoryOrderServiceServer() {} |
| | | |
| | |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _InventoryOrderService_GetWarehouseInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(GetWarehouseInfoRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(InventoryOrderServiceServer).GetWarehouseInfo(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/inventoryOrderService/GetWarehouseInfo", |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(InventoryOrderServiceServer).GetWarehouseInfo(ctx, req.(*GetWarehouseInfoRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | // InventoryOrderService_ServiceDesc is the grpc.ServiceDesc for InventoryOrderService service. |
| | | // It's only intended for direct use with grpc.RegisterService, |
| | | // and not to be introspected or modified (even as a copy) |
| | |
| | | MethodName: "UpdateMaterialApplyStatus", |
| | | Handler: _InventoryOrderService_UpdateMaterialApplyStatus_Handler, |
| | | }, |
| | | { |
| | | MethodName: "GetWarehouseInfo", |
| | | Handler: _InventoryOrderService_GetWarehouseInfo_Handler, |
| | | }, |
| | | }, |
| | | Streams: []grpc.StreamDesc{}, |
| | | Metadata: "inventory_order.proto", |