New file |
| | |
| | | // Code generated by protoc-gen-go. DO NOT EDIT. |
| | | // versions: |
| | | // protoc-gen-go v1.31.0 |
| | | // protoc v3.19.0 |
| | | // source: wms/common/common.proto |
| | | |
| | | package common |
| | | |
| | | import ( |
| | | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| | | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| | | reflect "reflect" |
| | | sync "sync" |
| | | ) |
| | | |
| | | const ( |
| | | // Verify that this generated code is sufficiently up-to-date. |
| | | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| | | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| | | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| | | ) |
| | | |
| | | type OperationSource int32 |
| | | |
| | | const ( |
| | | OperationSource_OperationSourceEmpty OperationSource = 0 //空 |
| | | OperationSource_OperationSourcePurchase OperationSource = 1 //采购入库 |
| | | OperationSource_OperationSourceProduction OperationSource = 2 //生产入库 |
| | | OperationSource_OperationSourceOutsourcing OperationSource = 3 //委外入库 |
| | | OperationSource_OperationSourceProductionApply OperationSource = 4 //生产领料 |
| | | OperationSource_OperationSourceOutsourcingApply OperationSource = 5 //委外领料 |
| | | OperationSource_OperationSourceSaleDelivery OperationSource = 6 //销售发货 |
| | | ) |
| | | |
| | | // Enum value maps for OperationSource. |
| | | var ( |
| | | OperationSource_name = map[int32]string{ |
| | | 0: "OperationSourceEmpty", |
| | | 1: "OperationSourcePurchase", |
| | | 2: "OperationSourceProduction", |
| | | 3: "OperationSourceOutsourcing", |
| | | 4: "OperationSourceProductionApply", |
| | | 5: "OperationSourceOutsourcingApply", |
| | | 6: "OperationSourceSaleDelivery", |
| | | } |
| | | OperationSource_value = map[string]int32{ |
| | | "OperationSourceEmpty": 0, |
| | | "OperationSourcePurchase": 1, |
| | | "OperationSourceProduction": 2, |
| | | "OperationSourceOutsourcing": 3, |
| | | "OperationSourceProductionApply": 4, |
| | | "OperationSourceOutsourcingApply": 5, |
| | | "OperationSourceSaleDelivery": 6, |
| | | } |
| | | ) |
| | | |
| | | func (x OperationSource) Enum() *OperationSource { |
| | | p := new(OperationSource) |
| | | *p = x |
| | | return p |
| | | } |
| | | |
| | | func (x OperationSource) String() string { |
| | | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| | | } |
| | | |
| | | func (OperationSource) Descriptor() protoreflect.EnumDescriptor { |
| | | return file_wms_common_common_proto_enumTypes[0].Descriptor() |
| | | } |
| | | |
| | | func (OperationSource) Type() protoreflect.EnumType { |
| | | return &file_wms_common_common_proto_enumTypes[0] |
| | | } |
| | | |
| | | func (x OperationSource) Number() protoreflect.EnumNumber { |
| | | return protoreflect.EnumNumber(x) |
| | | } |
| | | |
| | | // Deprecated: Use OperationSource.Descriptor instead. |
| | | func (OperationSource) EnumDescriptor() ([]byte, []int) { |
| | | return file_wms_common_common_proto_rawDescGZIP(), []int{0} |
| | | } |
| | | |
| | | var File_wms_common_common_proto protoreflect.FileDescriptor |
| | | |
| | | var file_wms_common_common_proto_rawDesc = []byte{ |
| | | 0x0a, 0x17, 0x77, 0x6d, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, |
| | | 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xf1, 0x01, 0x0a, 0x0f, 0x4f, 0x70, |
| | | 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, |
| | | 0x14, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| | | 0x45, 0x6d, 0x70, 0x74, 0x79, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4f, 0x70, 0x65, 0x72, 0x61, |
| | | 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, |
| | | 0x73, 0x65, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| | | 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, |
| | | 0x6e, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| | | 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, |
| | | 0x67, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| | | 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| | | 0x41, 0x70, 0x70, 0x6c, 0x79, 0x10, 0x04, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x70, 0x65, 0x72, 0x61, |
| | | 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, |
| | | 0x72, 0x63, 0x69, 0x6e, 0x67, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x10, 0x05, 0x12, 0x1f, 0x0a, 0x1b, |
| | | 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, |
| | | 0x61, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x10, 0x06, 0x42, 0x27, 0x5a, |
| | | 0x25, 0x62, 0x61, 0x73, 0x69, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x73, 0x2f, 0x70, |
| | | 0x72, 0x6f, 0x74, 0x6f, 0x6d, 0x73, 0x67, 0x2e, 0x67, 0x69, 0x74, 0x2f, 0x77, 0x6d, 0x73, 0x2f, |
| | | 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| | | } |
| | | |
| | | var ( |
| | | file_wms_common_common_proto_rawDescOnce sync.Once |
| | | file_wms_common_common_proto_rawDescData = file_wms_common_common_proto_rawDesc |
| | | ) |
| | | |
| | | func file_wms_common_common_proto_rawDescGZIP() []byte { |
| | | file_wms_common_common_proto_rawDescOnce.Do(func() { |
| | | file_wms_common_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_wms_common_common_proto_rawDescData) |
| | | }) |
| | | return file_wms_common_common_proto_rawDescData |
| | | } |
| | | |
| | | var file_wms_common_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| | | var file_wms_common_common_proto_goTypes = []interface{}{ |
| | | (OperationSource)(0), // 0: OperationSource |
| | | } |
| | | var file_wms_common_common_proto_depIdxs = []int32{ |
| | | 0, // [0:0] is the sub-list for method output_type |
| | | 0, // [0:0] is the sub-list for method input_type |
| | | 0, // [0:0] is the sub-list for extension type_name |
| | | 0, // [0:0] is the sub-list for extension extendee |
| | | 0, // [0:0] is the sub-list for field type_name |
| | | } |
| | | |
| | | func init() { file_wms_common_common_proto_init() } |
| | | func file_wms_common_common_proto_init() { |
| | | if File_wms_common_common_proto != nil { |
| | | return |
| | | } |
| | | type x struct{} |
| | | out := protoimpl.TypeBuilder{ |
| | | File: protoimpl.DescBuilder{ |
| | | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| | | RawDescriptor: file_wms_common_common_proto_rawDesc, |
| | | NumEnums: 1, |
| | | NumMessages: 0, |
| | | NumExtensions: 0, |
| | | NumServices: 0, |
| | | }, |
| | | GoTypes: file_wms_common_common_proto_goTypes, |
| | | DependencyIndexes: file_wms_common_common_proto_depIdxs, |
| | | EnumInfos: file_wms_common_common_proto_enumTypes, |
| | | }.Build() |
| | | File_wms_common_common_proto = out.File |
| | | file_wms_common_common_proto_rawDesc = nil |
| | | file_wms_common_common_proto_goTypes = nil |
| | | file_wms_common_common_proto_depIdxs = nil |
| | | } |
New file |
| | |
| | | // Code generated by protoc-gen-go. DO NOT EDIT. |
| | | // versions: |
| | | // protoc-gen-go v1.31.0 |
| | | // protoc v3.19.0 |
| | | // source: wms/product_inventory/product_inventory.proto |
| | | |
| | | package product_inventory |
| | | |
| | | import ( |
| | | common "basic.com/aps/protomsg.git/wms/common" |
| | | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| | | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| | | reflect "reflect" |
| | | sync "sync" |
| | | ) |
| | | |
| | | const ( |
| | | // Verify that this generated code is sufficiently up-to-date. |
| | | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| | | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| | | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| | | ) |
| | | |
| | | type FinishStatus int32 |
| | | |
| | | const ( |
| | | FinishStatus_Ready FinishStatus = 0 |
| | | FinishStatus_Finish FinishStatus = 1 |
| | | ) |
| | | |
| | | // Enum value maps for FinishStatus. |
| | | var ( |
| | | FinishStatus_name = map[int32]string{ |
| | | 0: "Ready", |
| | | 1: "Finish", |
| | | } |
| | | FinishStatus_value = map[string]int32{ |
| | | "Ready": 0, |
| | | "Finish": 1, |
| | | } |
| | | ) |
| | | |
| | | func (x FinishStatus) Enum() *FinishStatus { |
| | | p := new(FinishStatus) |
| | | *p = x |
| | | return p |
| | | } |
| | | |
| | | func (x FinishStatus) String() string { |
| | | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| | | } |
| | | |
| | | func (FinishStatus) Descriptor() protoreflect.EnumDescriptor { |
| | | return file_wms_product_inventory_product_inventory_proto_enumTypes[0].Descriptor() |
| | | } |
| | | |
| | | func (FinishStatus) Type() protoreflect.EnumType { |
| | | return &file_wms_product_inventory_product_inventory_proto_enumTypes[0] |
| | | } |
| | | |
| | | func (x FinishStatus) Number() protoreflect.EnumNumber { |
| | | return protoreflect.EnumNumber(x) |
| | | } |
| | | |
| | | // Deprecated: Use FinishStatus.Descriptor instead. |
| | | func (FinishStatus) EnumDescriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{0} |
| | | } |
| | | |
| | | type CreateOperationRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` //明细单编码 |
| | | Addressee string `protobuf:"bytes,2,opt,name=Addressee,proto3" json:"Addressee,omitempty"` //收货人 |
| | | Address string `protobuf:"bytes,3,opt,name=Address,proto3" json:"Address,omitempty"` //收货地址 |
| | | Phone string `protobuf:"bytes,4,opt,name=Phone,proto3" json:"Phone,omitempty"` |
| | | DeliverType int32 `protobuf:"varint,5,opt,name=DeliverType,proto3" json:"DeliverType,omitempty"` //交付类型 |
| | | Source string `protobuf:"bytes,6,opt,name=Source,proto3" json:"Source,omitempty"` |
| | | ClientId int64 `protobuf:"varint,7,opt,name=ClientId,proto3" json:"ClientId,omitempty"` |
| | | ClientName string `protobuf:"bytes,8,opt,name=ClientName,proto3" json:"ClientName,omitempty"` |
| | | ProductList []*InventoryProduct `protobuf:"bytes,9,rep,name=ProductList,proto3" json:"ProductList,omitempty"` |
| | | OperationSource common.OperationSource `protobuf:"varint,10,opt,name=OperationSource,proto3,enum=OperationSource" json:"OperationSource,omitempty"` |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) Reset() { |
| | | *x = CreateOperationRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[0] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*CreateOperationRequest) ProtoMessage() {} |
| | | |
| | | func (x *CreateOperationRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[0] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use CreateOperationRequest.ProtoReflect.Descriptor instead. |
| | | func (*CreateOperationRequest) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{0} |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetAddressee() string { |
| | | if x != nil { |
| | | return x.Addressee |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetAddress() string { |
| | | if x != nil { |
| | | return x.Address |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetPhone() string { |
| | | if x != nil { |
| | | return x.Phone |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetDeliverType() int32 { |
| | | if x != nil { |
| | | return x.DeliverType |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetSource() string { |
| | | if x != nil { |
| | | return x.Source |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetClientId() int64 { |
| | | if x != nil { |
| | | return x.ClientId |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetClientName() string { |
| | | if x != nil { |
| | | return x.ClientName |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetProductList() []*InventoryProduct { |
| | | if x != nil { |
| | | return x.ProductList |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (x *CreateOperationRequest) GetOperationSource() common.OperationSource { |
| | | if x != nil { |
| | | return x.OperationSource |
| | | } |
| | | return common.OperationSource(0) |
| | | } |
| | | |
| | | type InventoryProduct struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` |
| | | Amount string `protobuf:"bytes,2,opt,name=Amount,proto3" json:"Amount,omitempty"` |
| | | } |
| | | |
| | | func (x *InventoryProduct) Reset() { |
| | | *x = InventoryProduct{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[1] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *InventoryProduct) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*InventoryProduct) ProtoMessage() {} |
| | | |
| | | func (x *InventoryProduct) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[1] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use InventoryProduct.ProtoReflect.Descriptor instead. |
| | | func (*InventoryProduct) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{1} |
| | | } |
| | | |
| | | func (x *InventoryProduct) GetId() string { |
| | | if x != nil { |
| | | return x.Id |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InventoryProduct) GetAmount() string { |
| | | if x != nil { |
| | | return x.Amount |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type CreateOperationResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` |
| | | Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` |
| | | } |
| | | |
| | | func (x *CreateOperationResponse) Reset() { |
| | | *x = CreateOperationResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[2] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *CreateOperationResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*CreateOperationResponse) ProtoMessage() {} |
| | | |
| | | func (x *CreateOperationResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[2] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use CreateOperationResponse.ProtoReflect.Descriptor instead. |
| | | func (*CreateOperationResponse) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{2} |
| | | } |
| | | |
| | | func (x *CreateOperationResponse) GetCode() int32 { |
| | | if x != nil { |
| | | return x.Code |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *CreateOperationResponse) GetMsg() string { |
| | | if x != nil { |
| | | return x.Msg |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type GetInventoryProductInfoRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` //明细单编码 |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoRequest) Reset() { |
| | | *x = GetInventoryProductInfoRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[3] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*GetInventoryProductInfoRequest) ProtoMessage() {} |
| | | |
| | | func (x *GetInventoryProductInfoRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[3] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use GetInventoryProductInfoRequest.ProtoReflect.Descriptor instead. |
| | | func (*GetInventoryProductInfoRequest) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{3} |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type ProductInfo struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` |
| | | Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` |
| | | OrderAmount string `protobuf:"bytes,3,opt,name=OrderAmount,proto3" json:"OrderAmount,omitempty"` //订单数量 |
| | | Unit string `protobuf:"bytes,4,opt,name=Unit,proto3" json:"Unit,omitempty"` |
| | | Invoice string `protobuf:"bytes,5,opt,name=Invoice,proto3" json:"Invoice,omitempty"` //发货单 |
| | | Carrier string `protobuf:"bytes,6,opt,name=Carrier,proto3" json:"Carrier,omitempty"` //承运商 |
| | | Waybill string `protobuf:"bytes,7,opt,name=Waybill,proto3" json:"Waybill,omitempty"` //运单号 |
| | | SalePrice string `protobuf:"bytes,8,opt,name=SalePrice,proto3" json:"SalePrice,omitempty"` //销售单价 |
| | | Valorem string `protobuf:"bytes,9,opt,name=Valorem,proto3" json:"Valorem,omitempty"` //价税合计 |
| | | Warehouse string `protobuf:"bytes,10,opt,name=Warehouse,proto3" json:"Warehouse,omitempty"` |
| | | Amount string `protobuf:"bytes,11,opt,name=Amount,proto3" json:"Amount,omitempty"` //在库数量 |
| | | AvailableNumber string `protobuf:"bytes,12,opt,name=AvailableNumber,proto3" json:"AvailableNumber,omitempty"` //可用库存 |
| | | } |
| | | |
| | | func (x *ProductInfo) Reset() { |
| | | *x = ProductInfo{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[4] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *ProductInfo) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*ProductInfo) ProtoMessage() {} |
| | | |
| | | func (x *ProductInfo) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[4] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use ProductInfo.ProtoReflect.Descriptor instead. |
| | | func (*ProductInfo) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{4} |
| | | } |
| | | |
| | | func (x *ProductInfo) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetName() string { |
| | | if x != nil { |
| | | return x.Name |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetOrderAmount() string { |
| | | if x != nil { |
| | | return x.OrderAmount |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetUnit() string { |
| | | if x != nil { |
| | | return x.Unit |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetInvoice() string { |
| | | if x != nil { |
| | | return x.Invoice |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetCarrier() string { |
| | | if x != nil { |
| | | return x.Carrier |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetWaybill() string { |
| | | if x != nil { |
| | | return x.Waybill |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetSalePrice() string { |
| | | if x != nil { |
| | | return x.SalePrice |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetValorem() string { |
| | | if x != nil { |
| | | return x.Valorem |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetWarehouse() string { |
| | | if x != nil { |
| | | return x.Warehouse |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetAmount() string { |
| | | if x != nil { |
| | | return x.Amount |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ProductInfo) GetAvailableNumber() string { |
| | | if x != nil { |
| | | return x.AvailableNumber |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type GetInventoryProductInfoResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` |
| | | Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` |
| | | ProductList []*ProductInfo `protobuf:"bytes,3,rep,name=ProductList,proto3" json:"ProductList,omitempty"` |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoResponse) Reset() { |
| | | *x = GetInventoryProductInfoResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[5] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*GetInventoryProductInfoResponse) ProtoMessage() {} |
| | | |
| | | func (x *GetInventoryProductInfoResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[5] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use GetInventoryProductInfoResponse.ProtoReflect.Descriptor instead. |
| | | func (*GetInventoryProductInfoResponse) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{5} |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoResponse) GetCode() int32 { |
| | | if x != nil { |
| | | return x.Code |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoResponse) GetMsg() string { |
| | | if x != nil { |
| | | return x.Msg |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *GetInventoryProductInfoResponse) GetProductList() []*ProductInfo { |
| | | if x != nil { |
| | | return x.ProductList |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | type UpdateSalesDetailStatusRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` //明细单编码 |
| | | SalesDetailStatus string `protobuf:"bytes,2,opt,name=SalesDetailStatus,proto3" json:"SalesDetailStatus,omitempty"` |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusRequest) Reset() { |
| | | *x = UpdateSalesDetailStatusRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[6] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*UpdateSalesDetailStatusRequest) ProtoMessage() {} |
| | | |
| | | func (x *UpdateSalesDetailStatusRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[6] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use UpdateSalesDetailStatusRequest.ProtoReflect.Descriptor instead. |
| | | func (*UpdateSalesDetailStatusRequest) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{6} |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusRequest) GetSalesDetailStatus() string { |
| | | if x != nil { |
| | | return x.SalesDetailStatus |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type UpdateSalesDetailStatusResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` |
| | | Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusResponse) Reset() { |
| | | *x = UpdateSalesDetailStatusResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[7] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*UpdateSalesDetailStatusResponse) ProtoMessage() {} |
| | | |
| | | func (x *UpdateSalesDetailStatusResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[7] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use UpdateSalesDetailStatusResponse.ProtoReflect.Descriptor instead. |
| | | func (*UpdateSalesDetailStatusResponse) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{7} |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusResponse) GetCode() int32 { |
| | | if x != nil { |
| | | return x.Code |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailStatusResponse) GetMsg() string { |
| | | if x != nil { |
| | | return x.Msg |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type InputAndOutputInfo struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` |
| | | Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` |
| | | OrderAmount string `protobuf:"bytes,3,opt,name=OrderAmount,proto3" json:"OrderAmount,omitempty"` //订单数量 |
| | | Unit string `protobuf:"bytes,4,opt,name=Unit,proto3" json:"Unit,omitempty"` |
| | | Invoice string `protobuf:"bytes,5,opt,name=Invoice,proto3" json:"Invoice,omitempty"` //发货单 |
| | | Carrier string `protobuf:"bytes,6,opt,name=Carrier,proto3" json:"Carrier,omitempty"` //承运商 |
| | | Waybill string `protobuf:"bytes,7,opt,name=Waybill,proto3" json:"Waybill,omitempty"` //运单号 |
| | | SalePrice string `protobuf:"bytes,8,opt,name=SalePrice,proto3" json:"SalePrice,omitempty"` //销售单价 |
| | | Valorem string `protobuf:"bytes,9,opt,name=Valorem,proto3" json:"Valorem,omitempty"` //价税合计 |
| | | Warehouse string `protobuf:"bytes,10,opt,name=Warehouse,proto3" json:"Warehouse,omitempty"` |
| | | Amount string `protobuf:"bytes,11,opt,name=Amount,proto3" json:"Amount,omitempty"` //数量 |
| | | Status FinishStatus `protobuf:"varint,13,opt,name=Status,proto3,enum=FinishStatus" json:"Status,omitempty"` |
| | | CreateTime string `protobuf:"bytes,14,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` |
| | | LocationID int64 `protobuf:"varint,15,opt,name=LocationID,proto3" json:"LocationID,omitempty"` |
| | | WareHouseID int64 `protobuf:"varint,16,opt,name=WareHouseID,proto3" json:"WareHouseID,omitempty"` |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) Reset() { |
| | | *x = InputAndOutputInfo{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[8] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*InputAndOutputInfo) ProtoMessage() {} |
| | | |
| | | func (x *InputAndOutputInfo) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[8] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use InputAndOutputInfo.ProtoReflect.Descriptor instead. |
| | | func (*InputAndOutputInfo) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{8} |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetName() string { |
| | | if x != nil { |
| | | return x.Name |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetOrderAmount() string { |
| | | if x != nil { |
| | | return x.OrderAmount |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetUnit() string { |
| | | if x != nil { |
| | | return x.Unit |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetInvoice() string { |
| | | if x != nil { |
| | | return x.Invoice |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetCarrier() string { |
| | | if x != nil { |
| | | return x.Carrier |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetWaybill() string { |
| | | if x != nil { |
| | | return x.Waybill |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetSalePrice() string { |
| | | if x != nil { |
| | | return x.SalePrice |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetValorem() string { |
| | | if x != nil { |
| | | return x.Valorem |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetWarehouse() string { |
| | | if x != nil { |
| | | return x.Warehouse |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetAmount() string { |
| | | if x != nil { |
| | | return x.Amount |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetStatus() FinishStatus { |
| | | if x != nil { |
| | | return x.Status |
| | | } |
| | | return FinishStatus_Ready |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetCreateTime() string { |
| | | if x != nil { |
| | | return x.CreateTime |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetLocationID() int64 { |
| | | if x != nil { |
| | | return x.LocationID |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *InputAndOutputInfo) GetWareHouseID() int64 { |
| | | if x != nil { |
| | | return x.WareHouseID |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type GetOrderInputAndOutputInfoRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` //明细单编码 |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoRequest) Reset() { |
| | | *x = GetOrderInputAndOutputInfoRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[9] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*GetOrderInputAndOutputInfoRequest) ProtoMessage() {} |
| | | |
| | | func (x *GetOrderInputAndOutputInfoRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[9] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use GetOrderInputAndOutputInfoRequest.ProtoReflect.Descriptor instead. |
| | | func (*GetOrderInputAndOutputInfoRequest) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{9} |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type GetOrderInputAndOutputInfoResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` |
| | | Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` |
| | | InputList []*InputAndOutputInfo `protobuf:"bytes,3,rep,name=InputList,proto3" json:"InputList,omitempty"` |
| | | OutputList []*InputAndOutputInfo `protobuf:"bytes,4,rep,name=OutputList,proto3" json:"OutputList,omitempty"` |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoResponse) Reset() { |
| | | *x = GetOrderInputAndOutputInfoResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[10] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*GetOrderInputAndOutputInfoResponse) ProtoMessage() {} |
| | | |
| | | func (x *GetOrderInputAndOutputInfoResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[10] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use GetOrderInputAndOutputInfoResponse.ProtoReflect.Descriptor instead. |
| | | func (*GetOrderInputAndOutputInfoResponse) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{10} |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoResponse) GetCode() int32 { |
| | | if x != nil { |
| | | return x.Code |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoResponse) GetMsg() string { |
| | | if x != nil { |
| | | return x.Msg |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoResponse) GetInputList() []*InputAndOutputInfo { |
| | | if x != nil { |
| | | return x.InputList |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | func (x *GetOrderInputAndOutputInfoResponse) GetOutputList() []*InputAndOutputInfo { |
| | | if x != nil { |
| | | return x.OutputList |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | type OutputProduct struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` //产品编码 |
| | | Amount string `protobuf:"bytes,2,opt,name=Amount,proto3" json:"Amount,omitempty"` //发货数量 |
| | | } |
| | | |
| | | func (x *OutputProduct) Reset() { |
| | | *x = OutputProduct{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[11] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *OutputProduct) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*OutputProduct) ProtoMessage() {} |
| | | |
| | | func (x *OutputProduct) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[11] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use OutputProduct.ProtoReflect.Descriptor instead. |
| | | func (*OutputProduct) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{11} |
| | | } |
| | | |
| | | func (x *OutputProduct) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *OutputProduct) GetAmount() string { |
| | | if x != nil { |
| | | return x.Amount |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type OrderProductOutputRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | OrderNumber string `protobuf:"bytes,1,opt,name=OrderNumber,proto3" json:"OrderNumber,omitempty"` //明细单编码 |
| | | Products []*OutputProduct `protobuf:"bytes,2,rep,name=Products,proto3" json:"Products,omitempty"` //发货明细 |
| | | } |
| | | |
| | | func (x *OrderProductOutputRequest) Reset() { |
| | | *x = OrderProductOutputRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[12] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *OrderProductOutputRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*OrderProductOutputRequest) ProtoMessage() {} |
| | | |
| | | func (x *OrderProductOutputRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[12] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use OrderProductOutputRequest.ProtoReflect.Descriptor instead. |
| | | func (*OrderProductOutputRequest) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{12} |
| | | } |
| | | |
| | | func (x *OrderProductOutputRequest) GetOrderNumber() string { |
| | | if x != nil { |
| | | return x.OrderNumber |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *OrderProductOutputRequest) GetProducts() []*OutputProduct { |
| | | if x != nil { |
| | | return x.Products |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | type OrderProductOutputResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` |
| | | Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` |
| | | } |
| | | |
| | | func (x *OrderProductOutputResponse) Reset() { |
| | | *x = OrderProductOutputResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[13] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *OrderProductOutputResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*OrderProductOutputResponse) ProtoMessage() {} |
| | | |
| | | func (x *OrderProductOutputResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[13] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use OrderProductOutputResponse.ProtoReflect.Descriptor instead. |
| | | func (*OrderProductOutputResponse) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{13} |
| | | } |
| | | |
| | | func (x *OrderProductOutputResponse) GetCode() int32 { |
| | | if x != nil { |
| | | return x.Code |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *OrderProductOutputResponse) GetMsg() string { |
| | | if x != nil { |
| | | return x.Msg |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type GetOutputOperationInfoRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` //明细单编码 |
| | | } |
| | | |
| | | func (x *GetOutputOperationInfoRequest) Reset() { |
| | | *x = GetOutputOperationInfoRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[14] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *GetOutputOperationInfoRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*GetOutputOperationInfoRequest) ProtoMessage() {} |
| | | |
| | | func (x *GetOutputOperationInfoRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[14] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use GetOutputOperationInfoRequest.ProtoReflect.Descriptor instead. |
| | | func (*GetOutputOperationInfoRequest) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{14} |
| | | } |
| | | |
| | | func (x *GetOutputOperationInfoRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type GetOutputOperationInfoResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Products []*OutputProduct `protobuf:"bytes,1,rep,name=Products,proto3" json:"Products,omitempty"` //发货明细 |
| | | } |
| | | |
| | | func (x *GetOutputOperationInfoResponse) Reset() { |
| | | *x = GetOutputOperationInfoResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[15] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *GetOutputOperationInfoResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*GetOutputOperationInfoResponse) ProtoMessage() {} |
| | | |
| | | func (x *GetOutputOperationInfoResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_wms_product_inventory_product_inventory_proto_msgTypes[15] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use GetOutputOperationInfoResponse.ProtoReflect.Descriptor instead. |
| | | func (*GetOutputOperationInfoResponse) Descriptor() ([]byte, []int) { |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescGZIP(), []int{15} |
| | | } |
| | | |
| | | func (x *GetOutputOperationInfoResponse) GetProducts() []*OutputProduct { |
| | | if x != nil { |
| | | return x.Products |
| | | } |
| | | return nil |
| | | } |
| | | |
| | | var File_wms_product_inventory_product_inventory_proto protoreflect.FileDescriptor |
| | | |
| | | var file_wms_product_inventory_product_inventory_proto_rawDesc = []byte{ |
| | | 0x0a, 0x2d, 0x77, 0x6d, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, |
| | | 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, |
| | | 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| | | 0x17, 0x77, 0x6d, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, |
| | | 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x02, 0x0a, 0x16, 0x43, 0x72, 0x65, |
| | | 0x61, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, |
| | | 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x41, |
| | | 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| | | 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x64, 0x64, |
| | | 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x64, 0x64, 0x72, |
| | | 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, |
| | | 0x28, 0x09, 0x52, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x6c, |
| | | 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, |
| | | 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, |
| | | 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x6f, 0x75, |
| | | 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, |
| | | 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, |
| | | 0x1e, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, |
| | | 0x33, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x09, |
| | | 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, |
| | | 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| | | 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| | | 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, |
| | | 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, |
| | | 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| | | 0x22, 0x3a, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| | | 0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3f, 0x0a, 0x17, |
| | | 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| | | 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, |
| | | 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, |
| | | 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0x38, 0x0a, |
| | | 0x1e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| | | 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| | | 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xd5, 0x02, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, |
| | | 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, |
| | | 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, |
| | | 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, |
| | | 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, |
| | | 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, |
| | | 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x04, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x6e, 0x76, |
| | | 0x6f, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x49, 0x6e, 0x76, 0x6f, |
| | | 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x18, 0x06, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x18, 0x0a, |
| | | 0x07, 0x57, 0x61, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, |
| | | 0x57, 0x61, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x61, 0x6c, 0x65, 0x50, |
| | | 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x61, 0x6c, 0x65, |
| | | 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x61, 0x6c, 0x6f, 0x72, 0x65, 0x6d, |
| | | 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x56, 0x61, 0x6c, 0x6f, 0x72, 0x65, 0x6d, 0x12, |
| | | 0x1c, 0x0a, 0x09, 0x57, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, |
| | | 0x28, 0x09, 0x52, 0x09, 0x57, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x16, 0x0a, |
| | | 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, |
| | | 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, |
| | | 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, |
| | | 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, |
| | | 0x77, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, |
| | | 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| | | 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, |
| | | 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, |
| | | 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, |
| | | 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x66, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, |
| | | 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, |
| | | 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, |
| | | 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, |
| | | 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x11, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x53, |
| | | 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| | | 0x22, 0x47, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, |
| | | 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| | | 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| | | 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0xbb, 0x03, 0x0a, 0x12, 0x49, 0x6e, |
| | | 0x70, 0x75, 0x74, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, |
| | | 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| | | 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, |
| | | 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, |
| | | 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, |
| | | 0x09, 0x52, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, |
| | | 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, |
| | | 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x07, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, |
| | | 0x43, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, |
| | | 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x57, 0x61, 0x79, 0x62, 0x69, 0x6c, |
| | | 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x57, 0x61, 0x79, 0x62, 0x69, 0x6c, 0x6c, |
| | | 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x18, |
| | | 0x0a, 0x07, 0x56, 0x61, 0x6c, 0x6f, 0x72, 0x65, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, |
| | | 0x07, 0x56, 0x61, 0x6c, 0x6f, 0x72, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x57, 0x61, 0x72, 0x65, |
| | | 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x57, 0x61, 0x72, |
| | | 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, |
| | | 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, |
| | | 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, |
| | | 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53, |
| | | 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, |
| | | 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, |
| | | 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| | | 0x6e, 0x49, 0x44, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x4c, 0x6f, 0x63, 0x61, 0x74, |
| | | 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x57, 0x61, 0x72, 0x65, 0x48, 0x6f, 0x75, |
| | | 0x73, 0x65, 0x49, 0x44, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x57, 0x61, 0x72, 0x65, |
| | | 0x48, 0x6f, 0x75, 0x73, 0x65, 0x49, 0x44, 0x22, 0x3b, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4f, 0x72, |
| | | 0x64, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, |
| | | 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, |
| | | 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, |
| | | 0x6d, 0x62, 0x65, 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, |
| | | 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, |
| | | 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, |
| | | 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, |
| | | 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, |
| | | 0x67, 0x12, 0x31, 0x0a, 0x09, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, |
| | | 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x6e, 0x64, 0x4f, |
| | | 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x49, 0x6e, 0x70, 0x75, 0x74, |
| | | 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x0a, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4c, 0x69, |
| | | 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, |
| | | 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x4f, |
| | | 0x75, 0x74, 0x70, 0x75, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x0d, 0x4f, 0x75, 0x74, |
| | | 0x70, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, |
| | | 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, |
| | | 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, |
| | | 0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x69, 0x0a, 0x19, 0x4f, 0x72, |
| | | 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, |
| | | 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, |
| | | 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x72, |
| | | 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x08, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x4f, 0x75, |
| | | 0x74, 0x70, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x08, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x73, 0x22, 0x42, 0x0a, 0x1a, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x72, |
| | | 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| | | 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| | | 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22, 0x37, 0x0a, 0x1d, 0x47, 0x65, 0x74, |
| | | 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, |
| | | 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, |
| | | 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, |
| | | 0x65, 0x72, 0x22, 0x4c, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, |
| | | 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, |
| | | 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, |
| | | 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, |
| | | 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, |
| | | 0x2a, 0x25, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| | | 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, |
| | | 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x01, 0x32, 0xb8, 0x04, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x64, |
| | | 0x75, 0x63, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, |
| | | 0x69, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x65, |
| | | 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, |
| | | 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| | | 0x18, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| | | 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x17, 0x47, |
| | | 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, |
| | | 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, |
| | | 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, |
| | | 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, |
| | | 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, |
| | | 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x17, 0x55, |
| | | 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| | | 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, |
| | | 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| | | 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, |
| | | 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, |
| | | 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x1a, 0x47, |
| | | 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x6e, 0x64, 0x4f, |
| | | 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x2e, 0x47, 0x65, 0x74, 0x4f, |
| | | 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, |
| | | 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, |
| | | 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x6e, 0x64, |
| | | 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| | | 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1a, 0x2e, 0x4f, 0x72, 0x64, |
| | | 0x65, 0x72, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, |
| | | 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x72, |
| | | 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| | | 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x70, |
| | | 0x75, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| | | 0x1e, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, |
| | | 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| | | 0x1f, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, |
| | | 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| | | 0x22, 0x00, 0x42, 0x32, 0x5a, 0x30, 0x62, 0x61, 0x73, 0x69, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| | | 0x61, 0x70, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x6d, 0x73, 0x67, 0x2e, 0x67, 0x69, 0x74, |
| | | 0x2f, 0x77, 0x6d, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x76, |
| | | 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| | | } |
| | | |
| | | var ( |
| | | file_wms_product_inventory_product_inventory_proto_rawDescOnce sync.Once |
| | | file_wms_product_inventory_product_inventory_proto_rawDescData = file_wms_product_inventory_product_inventory_proto_rawDesc |
| | | ) |
| | | |
| | | func file_wms_product_inventory_product_inventory_proto_rawDescGZIP() []byte { |
| | | file_wms_product_inventory_product_inventory_proto_rawDescOnce.Do(func() { |
| | | file_wms_product_inventory_product_inventory_proto_rawDescData = protoimpl.X.CompressGZIP(file_wms_product_inventory_product_inventory_proto_rawDescData) |
| | | }) |
| | | return file_wms_product_inventory_product_inventory_proto_rawDescData |
| | | } |
| | | |
| | | var file_wms_product_inventory_product_inventory_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| | | var file_wms_product_inventory_product_inventory_proto_msgTypes = make([]protoimpl.MessageInfo, 16) |
| | | var file_wms_product_inventory_product_inventory_proto_goTypes = []interface{}{ |
| | | (FinishStatus)(0), // 0: FinishStatus |
| | | (*CreateOperationRequest)(nil), // 1: CreateOperationRequest |
| | | (*InventoryProduct)(nil), // 2: InventoryProduct |
| | | (*CreateOperationResponse)(nil), // 3: CreateOperationResponse |
| | | (*GetInventoryProductInfoRequest)(nil), // 4: GetInventoryProductInfoRequest |
| | | (*ProductInfo)(nil), // 5: ProductInfo |
| | | (*GetInventoryProductInfoResponse)(nil), // 6: GetInventoryProductInfoResponse |
| | | (*UpdateSalesDetailStatusRequest)(nil), // 7: UpdateSalesDetailStatusRequest |
| | | (*UpdateSalesDetailStatusResponse)(nil), // 8: UpdateSalesDetailStatusResponse |
| | | (*InputAndOutputInfo)(nil), // 9: InputAndOutputInfo |
| | | (*GetOrderInputAndOutputInfoRequest)(nil), // 10: GetOrderInputAndOutputInfoRequest |
| | | (*GetOrderInputAndOutputInfoResponse)(nil), // 11: GetOrderInputAndOutputInfoResponse |
| | | (*OutputProduct)(nil), // 12: OutputProduct |
| | | (*OrderProductOutputRequest)(nil), // 13: OrderProductOutputRequest |
| | | (*OrderProductOutputResponse)(nil), // 14: OrderProductOutputResponse |
| | | (*GetOutputOperationInfoRequest)(nil), // 15: GetOutputOperationInfoRequest |
| | | (*GetOutputOperationInfoResponse)(nil), // 16: GetOutputOperationInfoResponse |
| | | (common.OperationSource)(0), // 17: OperationSource |
| | | } |
| | | var file_wms_product_inventory_product_inventory_proto_depIdxs = []int32{ |
| | | 2, // 0: CreateOperationRequest.ProductList:type_name -> InventoryProduct |
| | | 17, // 1: CreateOperationRequest.OperationSource:type_name -> OperationSource |
| | | 5, // 2: GetInventoryProductInfoResponse.ProductList:type_name -> ProductInfo |
| | | 0, // 3: InputAndOutputInfo.Status:type_name -> FinishStatus |
| | | 9, // 4: GetOrderInputAndOutputInfoResponse.InputList:type_name -> InputAndOutputInfo |
| | | 9, // 5: GetOrderInputAndOutputInfoResponse.OutputList:type_name -> InputAndOutputInfo |
| | | 12, // 6: OrderProductOutputRequest.Products:type_name -> OutputProduct |
| | | 12, // 7: GetOutputOperationInfoResponse.Products:type_name -> OutputProduct |
| | | 1, // 8: productInventoryService.CreateOperation:input_type -> CreateOperationRequest |
| | | 4, // 9: productInventoryService.GetInventoryProductInfo:input_type -> GetInventoryProductInfoRequest |
| | | 7, // 10: productInventoryService.UpdateSalesDetailStatus:input_type -> UpdateSalesDetailStatusRequest |
| | | 10, // 11: productInventoryService.GetOrderInputAndOutputInfo:input_type -> GetOrderInputAndOutputInfoRequest |
| | | 13, // 12: productInventoryService.OrderProductOutput:input_type -> OrderProductOutputRequest |
| | | 15, // 13: productInventoryService.GetOutputOperationInfo:input_type -> GetOutputOperationInfoRequest |
| | | 3, // 14: productInventoryService.CreateOperation:output_type -> CreateOperationResponse |
| | | 6, // 15: productInventoryService.GetInventoryProductInfo:output_type -> GetInventoryProductInfoResponse |
| | | 8, // 16: productInventoryService.UpdateSalesDetailStatus:output_type -> UpdateSalesDetailStatusResponse |
| | | 11, // 17: productInventoryService.GetOrderInputAndOutputInfo:output_type -> GetOrderInputAndOutputInfoResponse |
| | | 14, // 18: productInventoryService.OrderProductOutput:output_type -> OrderProductOutputResponse |
| | | 16, // 19: productInventoryService.GetOutputOperationInfo:output_type -> GetOutputOperationInfoResponse |
| | | 14, // [14:20] is the sub-list for method output_type |
| | | 8, // [8:14] is the sub-list for method input_type |
| | | 8, // [8:8] is the sub-list for extension type_name |
| | | 8, // [8:8] is the sub-list for extension extendee |
| | | 0, // [0:8] is the sub-list for field type_name |
| | | } |
| | | |
| | | func init() { file_wms_product_inventory_product_inventory_proto_init() } |
| | | func file_wms_product_inventory_product_inventory_proto_init() { |
| | | if File_wms_product_inventory_product_inventory_proto != nil { |
| | | return |
| | | } |
| | | if !protoimpl.UnsafeEnabled { |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*CreateOperationRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*InventoryProduct); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*CreateOperationResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*GetInventoryProductInfoRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*ProductInfo); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*GetInventoryProductInfoResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*UpdateSalesDetailStatusRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*UpdateSalesDetailStatusResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*InputAndOutputInfo); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*GetOrderInputAndOutputInfoRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*GetOrderInputAndOutputInfoResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*OutputProduct); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*OrderProductOutputRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*OrderProductOutputResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*GetOutputOperationInfoRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_wms_product_inventory_product_inventory_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| | | switch v := v.(*GetOutputOperationInfoResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | } |
| | | type x struct{} |
| | | out := protoimpl.TypeBuilder{ |
| | | File: protoimpl.DescBuilder{ |
| | | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| | | RawDescriptor: file_wms_product_inventory_product_inventory_proto_rawDesc, |
| | | NumEnums: 1, |
| | | NumMessages: 16, |
| | | NumExtensions: 0, |
| | | NumServices: 1, |
| | | }, |
| | | GoTypes: file_wms_product_inventory_product_inventory_proto_goTypes, |
| | | DependencyIndexes: file_wms_product_inventory_product_inventory_proto_depIdxs, |
| | | EnumInfos: file_wms_product_inventory_product_inventory_proto_enumTypes, |
| | | MessageInfos: file_wms_product_inventory_product_inventory_proto_msgTypes, |
| | | }.Build() |
| | | File_wms_product_inventory_product_inventory_proto = out.File |
| | | file_wms_product_inventory_product_inventory_proto_rawDesc = nil |
| | | file_wms_product_inventory_product_inventory_proto_goTypes = nil |
| | | file_wms_product_inventory_product_inventory_proto_depIdxs = nil |
| | | } |
New file |
| | |
| | | // Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| | | // versions: |
| | | // - protoc-gen-go-grpc v1.3.0 |
| | | // - protoc v3.19.0 |
| | | // source: wms/product_inventory/product_inventory.proto |
| | | |
| | | package product_inventory |
| | | |
| | | import ( |
| | | context "context" |
| | | grpc "google.golang.org/grpc" |
| | | codes "google.golang.org/grpc/codes" |
| | | status "google.golang.org/grpc/status" |
| | | ) |
| | | |
| | | // This is a compile-time assertion to ensure that this generated file |
| | | // 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. |
| | | // |
| | | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| | | type ProductInventoryServiceClient interface { |
| | | CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*CreateOperationResponse, error) |
| | | GetInventoryProductInfo(ctx context.Context, in *GetInventoryProductInfoRequest, opts ...grpc.CallOption) (*GetInventoryProductInfoResponse, error) |
| | | UpdateSalesDetailStatus(ctx context.Context, in *UpdateSalesDetailStatusRequest, opts ...grpc.CallOption) (*UpdateSalesDetailStatusResponse, error) |
| | | GetOrderInputAndOutputInfo(ctx context.Context, in *GetOrderInputAndOutputInfoRequest, opts ...grpc.CallOption) (*GetOrderInputAndOutputInfoResponse, error) |
| | | OrderProductOutput(ctx context.Context, in *OrderProductOutputRequest, opts ...grpc.CallOption) (*OrderProductOutputResponse, error) |
| | | GetOutputOperationInfo(ctx context.Context, in *GetOutputOperationInfoRequest, opts ...grpc.CallOption) (*GetOutputOperationInfoResponse, error) |
| | | } |
| | | |
| | | type productInventoryServiceClient struct { |
| | | cc grpc.ClientConnInterface |
| | | } |
| | | |
| | | func NewProductInventoryServiceClient(cc grpc.ClientConnInterface) ProductInventoryServiceClient { |
| | | return &productInventoryServiceClient{cc} |
| | | } |
| | | |
| | | func (c *productInventoryServiceClient) CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*CreateOperationResponse, error) { |
| | | out := new(CreateOperationResponse) |
| | | err := c.cc.Invoke(ctx, ProductInventoryService_CreateOperation_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *productInventoryServiceClient) GetInventoryProductInfo(ctx context.Context, in *GetInventoryProductInfoRequest, opts ...grpc.CallOption) (*GetInventoryProductInfoResponse, error) { |
| | | out := new(GetInventoryProductInfoResponse) |
| | | err := c.cc.Invoke(ctx, ProductInventoryService_GetInventoryProductInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *productInventoryServiceClient) UpdateSalesDetailStatus(ctx context.Context, in *UpdateSalesDetailStatusRequest, opts ...grpc.CallOption) (*UpdateSalesDetailStatusResponse, error) { |
| | | out := new(UpdateSalesDetailStatusResponse) |
| | | err := c.cc.Invoke(ctx, ProductInventoryService_UpdateSalesDetailStatus_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *productInventoryServiceClient) GetOrderInputAndOutputInfo(ctx context.Context, in *GetOrderInputAndOutputInfoRequest, opts ...grpc.CallOption) (*GetOrderInputAndOutputInfoResponse, error) { |
| | | out := new(GetOrderInputAndOutputInfoResponse) |
| | | err := c.cc.Invoke(ctx, ProductInventoryService_GetOrderInputAndOutputInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *productInventoryServiceClient) OrderProductOutput(ctx context.Context, in *OrderProductOutputRequest, opts ...grpc.CallOption) (*OrderProductOutputResponse, error) { |
| | | out := new(OrderProductOutputResponse) |
| | | err := c.cc.Invoke(ctx, ProductInventoryService_OrderProductOutput_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *productInventoryServiceClient) GetOutputOperationInfo(ctx context.Context, in *GetOutputOperationInfoRequest, opts ...grpc.CallOption) (*GetOutputOperationInfoResponse, error) { |
| | | out := new(GetOutputOperationInfoResponse) |
| | | err := c.cc.Invoke(ctx, ProductInventoryService_GetOutputOperationInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | // ProductInventoryServiceServer is the server API for ProductInventoryService service. |
| | | // All implementations must embed UnimplementedProductInventoryServiceServer |
| | | // for forward compatibility |
| | | type ProductInventoryServiceServer interface { |
| | | CreateOperation(context.Context, *CreateOperationRequest) (*CreateOperationResponse, error) |
| | | GetInventoryProductInfo(context.Context, *GetInventoryProductInfoRequest) (*GetInventoryProductInfoResponse, error) |
| | | UpdateSalesDetailStatus(context.Context, *UpdateSalesDetailStatusRequest) (*UpdateSalesDetailStatusResponse, error) |
| | | GetOrderInputAndOutputInfo(context.Context, *GetOrderInputAndOutputInfoRequest) (*GetOrderInputAndOutputInfoResponse, error) |
| | | OrderProductOutput(context.Context, *OrderProductOutputRequest) (*OrderProductOutputResponse, error) |
| | | GetOutputOperationInfo(context.Context, *GetOutputOperationInfoRequest) (*GetOutputOperationInfoResponse, error) |
| | | mustEmbedUnimplementedProductInventoryServiceServer() |
| | | } |
| | | |
| | | // UnimplementedProductInventoryServiceServer must be embedded to have forward compatible implementations. |
| | | type UnimplementedProductInventoryServiceServer struct { |
| | | } |
| | | |
| | | func (UnimplementedProductInventoryServiceServer) CreateOperation(context.Context, *CreateOperationRequest) (*CreateOperationResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method CreateOperation not implemented") |
| | | } |
| | | func (UnimplementedProductInventoryServiceServer) GetInventoryProductInfo(context.Context, *GetInventoryProductInfoRequest) (*GetInventoryProductInfoResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method GetInventoryProductInfo not implemented") |
| | | } |
| | | func (UnimplementedProductInventoryServiceServer) UpdateSalesDetailStatus(context.Context, *UpdateSalesDetailStatusRequest) (*UpdateSalesDetailStatusResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method UpdateSalesDetailStatus not implemented") |
| | | } |
| | | func (UnimplementedProductInventoryServiceServer) GetOrderInputAndOutputInfo(context.Context, *GetOrderInputAndOutputInfoRequest) (*GetOrderInputAndOutputInfoResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method GetOrderInputAndOutputInfo not implemented") |
| | | } |
| | | func (UnimplementedProductInventoryServiceServer) OrderProductOutput(context.Context, *OrderProductOutputRequest) (*OrderProductOutputResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method OrderProductOutput not implemented") |
| | | } |
| | | func (UnimplementedProductInventoryServiceServer) GetOutputOperationInfo(context.Context, *GetOutputOperationInfoRequest) (*GetOutputOperationInfoResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method GetOutputOperationInfo not implemented") |
| | | } |
| | | func (UnimplementedProductInventoryServiceServer) mustEmbedUnimplementedProductInventoryServiceServer() { |
| | | } |
| | | |
| | | // UnsafeProductInventoryServiceServer may be embedded to opt out of forward compatibility for this service. |
| | | // Use of this interface is not recommended, as added methods to ProductInventoryServiceServer will |
| | | // result in compilation errors. |
| | | type UnsafeProductInventoryServiceServer interface { |
| | | mustEmbedUnimplementedProductInventoryServiceServer() |
| | | } |
| | | |
| | | func RegisterProductInventoryServiceServer(s grpc.ServiceRegistrar, srv ProductInventoryServiceServer) { |
| | | s.RegisterService(&ProductInventoryService_ServiceDesc, srv) |
| | | } |
| | | |
| | | func _ProductInventoryService_CreateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(CreateOperationRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(ProductInventoryServiceServer).CreateOperation(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: ProductInventoryService_CreateOperation_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(ProductInventoryServiceServer).CreateOperation(ctx, req.(*CreateOperationRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _ProductInventoryService_GetInventoryProductInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(GetInventoryProductInfoRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(ProductInventoryServiceServer).GetInventoryProductInfo(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: ProductInventoryService_GetInventoryProductInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(ProductInventoryServiceServer).GetInventoryProductInfo(ctx, req.(*GetInventoryProductInfoRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _ProductInventoryService_UpdateSalesDetailStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(UpdateSalesDetailStatusRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(ProductInventoryServiceServer).UpdateSalesDetailStatus(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: ProductInventoryService_UpdateSalesDetailStatus_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(ProductInventoryServiceServer).UpdateSalesDetailStatus(ctx, req.(*UpdateSalesDetailStatusRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _ProductInventoryService_GetOrderInputAndOutputInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(GetOrderInputAndOutputInfoRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(ProductInventoryServiceServer).GetOrderInputAndOutputInfo(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: ProductInventoryService_GetOrderInputAndOutputInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(ProductInventoryServiceServer).GetOrderInputAndOutputInfo(ctx, req.(*GetOrderInputAndOutputInfoRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _ProductInventoryService_OrderProductOutput_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(OrderProductOutputRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(ProductInventoryServiceServer).OrderProductOutput(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: ProductInventoryService_OrderProductOutput_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(ProductInventoryServiceServer).OrderProductOutput(ctx, req.(*OrderProductOutputRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _ProductInventoryService_GetOutputOperationInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(GetOutputOperationInfoRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(ProductInventoryServiceServer).GetOutputOperationInfo(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: ProductInventoryService_GetOutputOperationInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(ProductInventoryServiceServer).GetOutputOperationInfo(ctx, req.(*GetOutputOperationInfoRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | // ProductInventoryService_ServiceDesc is the grpc.ServiceDesc for ProductInventoryService service. |
| | | // It's only intended for direct use with grpc.RegisterService, |
| | | // and not to be introspected or modified (even as a copy) |
| | | var ProductInventoryService_ServiceDesc = grpc.ServiceDesc{ |
| | | ServiceName: "productInventoryService", |
| | | HandlerType: (*ProductInventoryServiceServer)(nil), |
| | | Methods: []grpc.MethodDesc{ |
| | | { |
| | | MethodName: "CreateOperation", |
| | | Handler: _ProductInventoryService_CreateOperation_Handler, |
| | | }, |
| | | { |
| | | MethodName: "GetInventoryProductInfo", |
| | | Handler: _ProductInventoryService_GetInventoryProductInfo_Handler, |
| | | }, |
| | | { |
| | | MethodName: "UpdateSalesDetailStatus", |
| | | Handler: _ProductInventoryService_UpdateSalesDetailStatus_Handler, |
| | | }, |
| | | { |
| | | MethodName: "GetOrderInputAndOutputInfo", |
| | | Handler: _ProductInventoryService_GetOrderInputAndOutputInfo_Handler, |
| | | }, |
| | | { |
| | | MethodName: "OrderProductOutput", |
| | | Handler: _ProductInventoryService_OrderProductOutput_Handler, |
| | | }, |
| | | { |
| | | MethodName: "GetOutputOperationInfo", |
| | | Handler: _ProductInventoryService_GetOutputOperationInfo_Handler, |
| | | }, |
| | | }, |
| | | Streams: []grpc.StreamDesc{}, |
| | | Metadata: "wms/product_inventory/product_inventory.proto", |
| | | } |
| | |
| | | syntax = "proto3"; |
| | | option go_package = "wms/common;common"; |
| | | option go_package = "basic.com/aps/protomsg.git/wms/common"; |
| | | |
| | | enum OperationSource { |
| | | OperationSourceEmpty = 0; //空 |
| | |
| | | syntax = "proto3"; |
| | | import "wms/common/common.proto"; |
| | | option go_package = "wms/product_inventory;product_inventory"; |
| | | option go_package = "basic.com/aps/protomsg.git/wms/product_inventory"; |
| | | |
| | | |
| | | |