| | |
| | | // Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| | | // versions: |
| | | // - protoc-gen-go-grpc v1.3.0 |
| | | // - protoc v3.19.0 |
| | | // source: purchase_wms.proto |
| | | |
| | | package purchase_wms |
| | | |
| | |
| | | // is compatible with the grpc package it is being compiled against. |
| | | // Requires gRPC-Go v1.32.0 or later. |
| | | const _ = grpc.SupportPackageIsVersion7 |
| | | |
| | | const ( |
| | | PurchaseService_PurchaseToWms_FullMethodName = "/PurchaseService/PurchaseToWms" |
| | | PurchaseService_UpdatePurchaseStatus_FullMethodName = "/PurchaseService/UpdatePurchaseStatus" |
| | | PurchaseService_GetSupplierListByProductId_FullMethodName = "/PurchaseService/GetSupplierListByProductId" |
| | | PurchaseService_CreatePurchaseByWms_FullMethodName = "/PurchaseService/CreatePurchaseByWms" |
| | | PurchaseService_GetPurchaseInfo_FullMethodName = "/PurchaseService/GetPurchaseInfo" |
| | | PurchaseService_ExistSupplier_FullMethodName = "/PurchaseService/ExistSupplier" |
| | | PurchaseService_SrmGetWarehouseInfo_FullMethodName = "/PurchaseService/SrmGetWarehouseInfo" |
| | | PurchaseService_SrmGetOperationInfo_FullMethodName = "/PurchaseService/SrmGetOperationInfo" |
| | | PurchaseService_CreatePurchaseByAps_FullMethodName = "/PurchaseService/CreatePurchaseByAps" |
| | | ) |
| | | |
| | | // PurchaseServiceClient is the client API for PurchaseService service. |
| | | // |
| | |
| | | |
| | | func (c *purchaseServiceClient) PurchaseToWms(ctx context.Context, in *PurchaseToWmsRequest, opts ...grpc.CallOption) (*PurchaseToWmsResponse, error) { |
| | | out := new(PurchaseToWmsResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/PurchaseToWms", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_PurchaseToWms_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) UpdatePurchaseStatus(ctx context.Context, in *UpdatePurchaseStatusRequest, opts ...grpc.CallOption) (*UpdatePurchaseStatusResponse, error) { |
| | | out := new(UpdatePurchaseStatusResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/UpdatePurchaseStatus", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_UpdatePurchaseStatus_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) GetSupplierListByProductId(ctx context.Context, in *GetSupplierListByProductIdRequest, opts ...grpc.CallOption) (*GetSupplierListByProductIdResponse, error) { |
| | | out := new(GetSupplierListByProductIdResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/GetSupplierListByProductId", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_GetSupplierListByProductId_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) CreatePurchaseByWms(ctx context.Context, in *CreatePurchaseByWmsRequest, opts ...grpc.CallOption) (*CreatePurchaseByWmsResponse, error) { |
| | | out := new(CreatePurchaseByWmsResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/CreatePurchaseByWms", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_CreatePurchaseByWms_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) GetPurchaseInfo(ctx context.Context, in *GetPurchaseInfoRequest, opts ...grpc.CallOption) (*GetPurchaseInfoResponse, error) { |
| | | out := new(GetPurchaseInfoResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/GetPurchaseInfo", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_GetPurchaseInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) ExistSupplier(ctx context.Context, in *ExistSupplierRequest, opts ...grpc.CallOption) (*ExistSupplierResponse, error) { |
| | | out := new(ExistSupplierResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/ExistSupplier", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_ExistSupplier_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) SrmGetWarehouseInfo(ctx context.Context, in *SrmGetWarehouseInfoRequest, opts ...grpc.CallOption) (*SrmGetWarehouseInfoResponse, error) { |
| | | out := new(SrmGetWarehouseInfoResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/SrmGetWarehouseInfo", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_SrmGetWarehouseInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) SrmGetOperationInfo(ctx context.Context, in *SrmGetOperationInfoRequest, opts ...grpc.CallOption) (*SrmGetOperationInfoResponse, error) { |
| | | out := new(SrmGetOperationInfoResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/SrmGetOperationInfo", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_SrmGetOperationInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *purchaseServiceClient) CreatePurchaseByAps(ctx context.Context, in *CreatePurchaseByApsRequest, opts ...grpc.CallOption) (*CreatePurchaseByWmsResponse, error) { |
| | | out := new(CreatePurchaseByWmsResponse) |
| | | err := c.cc.Invoke(ctx, "/PurchaseService/CreatePurchaseByAps", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, PurchaseService_CreatePurchaseByAps_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/PurchaseToWms", |
| | | FullMethod: PurchaseService_PurchaseToWms_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).PurchaseToWms(ctx, req.(*PurchaseToWmsRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/UpdatePurchaseStatus", |
| | | FullMethod: PurchaseService_UpdatePurchaseStatus_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).UpdatePurchaseStatus(ctx, req.(*UpdatePurchaseStatusRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/GetSupplierListByProductId", |
| | | FullMethod: PurchaseService_GetSupplierListByProductId_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).GetSupplierListByProductId(ctx, req.(*GetSupplierListByProductIdRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/CreatePurchaseByWms", |
| | | FullMethod: PurchaseService_CreatePurchaseByWms_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).CreatePurchaseByWms(ctx, req.(*CreatePurchaseByWmsRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/GetPurchaseInfo", |
| | | FullMethod: PurchaseService_GetPurchaseInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).GetPurchaseInfo(ctx, req.(*GetPurchaseInfoRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/ExistSupplier", |
| | | FullMethod: PurchaseService_ExistSupplier_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).ExistSupplier(ctx, req.(*ExistSupplierRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/SrmGetWarehouseInfo", |
| | | FullMethod: PurchaseService_SrmGetWarehouseInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).SrmGetWarehouseInfo(ctx, req.(*SrmGetWarehouseInfoRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/SrmGetOperationInfo", |
| | | FullMethod: PurchaseService_SrmGetOperationInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).SrmGetOperationInfo(ctx, req.(*SrmGetOperationInfoRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/PurchaseService/CreatePurchaseByAps", |
| | | FullMethod: PurchaseService_CreatePurchaseByAps_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(PurchaseServiceServer).CreatePurchaseByAps(ctx, req.(*CreatePurchaseByApsRequest)) |