// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.21.0 // protoc v3.11.4 // source: BaseRolePerson.proto //在web层重新生成pb.go的方法 // //protoc -I Business/BaseRolePerson/BaseRolePersonProto/ Business/BaseRolePerson/BaseRolePersonProto/BaseRolePerson.proto --go_out=plugins=grpc:Business/BaseRolePerson/BaseRolePersonProto package BaseRolePersonProto import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" 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) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 type CheckDataPrivilegeArg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields //当前的操作人员ID ActionPersonId string `protobuf:"bytes,1,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"` //角色数组 RoleId []string `protobuf:"bytes,2,rep,name=RoleId,proto3" json:"RoleId,omitempty"` //roleId //区域代码 //areaCode --->controller参数,有可能有有可能有 //areaCodes --->controller参数,有可能有有可能有 AreaCode []string `protobuf:"bytes,3,rep,name=AreaCode,proto3" json:"AreaCode,omitempty"` //单位+学校+部门 //orgId --->controller参数,有可能有有可能有 //orgIds --->controller参数,有可能有有可能有 OrgId []string `protobuf:"bytes,4,rep,name=OrgId,proto3" json:"OrgId,omitempty"` //班级 //classId --->controller参数,有可能有有可能有 //classIds --->controller参数,有可能有有可能有 ClassId []string `protobuf:"bytes,5,rep,name=ClassId,proto3" json:"ClassId,omitempty"` //要处理的人员ID //personId --->controller参数,有可能有有可能有 //personIds --->controller参数,有可能有有可能有 PersonId []string `protobuf:"bytes,6,rep,name=PersonId,proto3" json:"PersonId,omitempty"` } func (x *CheckDataPrivilegeArg) Reset() { *x = CheckDataPrivilegeArg{} if protoimpl.UnsafeEnabled { mi := &file_BaseRolePerson_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CheckDataPrivilegeArg) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckDataPrivilegeArg) ProtoMessage() {} func (x *CheckDataPrivilegeArg) ProtoReflect() protoreflect.Message { mi := &file_BaseRolePerson_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 CheckDataPrivilegeArg.ProtoReflect.Descriptor instead. func (*CheckDataPrivilegeArg) Descriptor() ([]byte, []int) { return file_BaseRolePerson_proto_rawDescGZIP(), []int{0} } func (x *CheckDataPrivilegeArg) GetActionPersonId() string { if x != nil { return x.ActionPersonId } return "" } func (x *CheckDataPrivilegeArg) GetRoleId() []string { if x != nil { return x.RoleId } return nil } func (x *CheckDataPrivilegeArg) GetAreaCode() []string { if x != nil { return x.AreaCode } return nil } func (x *CheckDataPrivilegeArg) GetOrgId() []string { if x != nil { return x.OrgId } return nil } func (x *CheckDataPrivilegeArg) GetClassId() []string { if x != nil { return x.ClassId } return nil } func (x *CheckDataPrivilegeArg) GetPersonId() []string { if x != nil { return x.PersonId } return nil } type GetManageAreaArg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields //人员ID PersonId string `protobuf:"bytes,1,opt,name=PersonId,proto3" json:"PersonId,omitempty"` //地区类型 1:市 2:区 AreaType int32 `protobuf:"varint,2,opt,name=AreaType,proto3" json:"AreaType,omitempty"` //操作人 ActionPersonId string `protobuf:"bytes,3,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"` //操作IP ActionIpAddress string `protobuf:"bytes,4,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"` } func (x *GetManageAreaArg) Reset() { *x = GetManageAreaArg{} if protoimpl.UnsafeEnabled { mi := &file_BaseRolePerson_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetManageAreaArg) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetManageAreaArg) ProtoMessage() {} func (x *GetManageAreaArg) ProtoReflect() protoreflect.Message { mi := &file_BaseRolePerson_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 GetManageAreaArg.ProtoReflect.Descriptor instead. func (*GetManageAreaArg) Descriptor() ([]byte, []int) { return file_BaseRolePerson_proto_rawDescGZIP(), []int{1} } func (x *GetManageAreaArg) GetPersonId() string { if x != nil { return x.PersonId } return "" } func (x *GetManageAreaArg) GetAreaType() int32 { if x != nil { return x.AreaType } return 0 } func (x *GetManageAreaArg) GetActionPersonId() string { if x != nil { return x.ActionPersonId } return "" } func (x *GetManageAreaArg) GetActionIpAddress() string { if x != nil { return x.ActionIpAddress } return "" } type ModelArg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` //整数ID IdInt int32 `protobuf:"varint,2,opt,name=IdInt,proto3" json:"IdInt,omitempty"` //角色ID RoleId string `protobuf:"bytes,3,opt,name=RoleId,proto3" json:"RoleId,omitempty"` //身份ID IdentityId int32 `protobuf:"varint,4,opt,name=IdentityId,proto3" json:"IdentityId,omitempty"` //人员ID PersonId string `protobuf:"bytes,5,opt,name=PersonId,proto3" json:"PersonId,omitempty"` //具体管辖是哪个省、市、区或大学区ID,单位ID RuleId string `protobuf:"bytes,6,opt,name=RuleId,proto3" json:"RuleId,omitempty"` //是否启用 0:未启用 1:启用 BUse int32 `protobuf:"varint,7,opt,name=BUse,proto3" json:"BUse,omitempty"` //最后修改时间 LastUpdatedTime string `protobuf:"bytes,8,opt,name=LastUpdatedTime,proto3" json:"LastUpdatedTime,omitempty"` //需要强制更新的列 ForceUpdateFields []string `protobuf:"bytes,9,rep,name=ForceUpdateFields,proto3" json:"ForceUpdateFields,omitempty"` //操作人 ActionPersonId string `protobuf:"bytes,10,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"` //操作IP ActionIpAddress string `protobuf:"bytes,11,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"` } func (x *ModelArg) Reset() { *x = ModelArg{} if protoimpl.UnsafeEnabled { mi := &file_BaseRolePerson_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ModelArg) String() string { return protoimpl.X.MessageStringOf(x) } func (*ModelArg) ProtoMessage() {} func (x *ModelArg) ProtoReflect() protoreflect.Message { mi := &file_BaseRolePerson_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 ModelArg.ProtoReflect.Descriptor instead. func (*ModelArg) Descriptor() ([]byte, []int) { return file_BaseRolePerson_proto_rawDescGZIP(), []int{2} } func (x *ModelArg) GetId() string { if x != nil { return x.Id } return "" } func (x *ModelArg) GetIdInt() int32 { if x != nil { return x.IdInt } return 0 } func (x *ModelArg) GetRoleId() string { if x != nil { return x.RoleId } return "" } func (x *ModelArg) GetIdentityId() int32 { if x != nil { return x.IdentityId } return 0 } func (x *ModelArg) GetPersonId() string { if x != nil { return x.PersonId } return "" } func (x *ModelArg) GetRuleId() string { if x != nil { return x.RuleId } return "" } func (x *ModelArg) GetBUse() int32 { if x != nil { return x.BUse } return 0 } func (x *ModelArg) GetLastUpdatedTime() string { if x != nil { return x.LastUpdatedTime } return "" } func (x *ModelArg) GetForceUpdateFields() []string { if x != nil { return x.ForceUpdateFields } return nil } func (x *ModelArg) GetActionPersonId() string { if x != nil { return x.ActionPersonId } return "" } func (x *ModelArg) GetActionIpAddress() string { if x != nil { return x.ActionIpAddress } return "" } // 查询参数 type QueryArg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page int32 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"` //人员ID PersonId string `protobuf:"bytes,3,opt,name=PersonId,proto3" json:"PersonId,omitempty"` //操作人 ActionPersonId string `protobuf:"bytes,4,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"` //操作IP ActionIpAddress string `protobuf:"bytes,5,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"` } func (x *QueryArg) Reset() { *x = QueryArg{} if protoimpl.UnsafeEnabled { mi := &file_BaseRolePerson_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *QueryArg) String() string { return protoimpl.X.MessageStringOf(x) } func (*QueryArg) ProtoMessage() {} func (x *QueryArg) ProtoReflect() protoreflect.Message { mi := &file_BaseRolePerson_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 QueryArg.ProtoReflect.Descriptor instead. func (*QueryArg) Descriptor() ([]byte, []int) { return file_BaseRolePerson_proto_rawDescGZIP(), []int{3} } func (x *QueryArg) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *QueryArg) GetLimit() int32 { if x != nil { return x.Limit } return 0 } func (x *QueryArg) GetPersonId() string { if x != nil { return x.PersonId } return "" } func (x *QueryArg) GetActionPersonId() string { if x != nil { return x.ActionPersonId } return "" } func (x *QueryArg) GetActionIpAddress() string { if x != nil { return x.ActionIpAddress } return "" } // 查询请求响应 type Reply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` Count int32 `protobuf:"varint,3,opt,name=Count,proto3" json:"Count,omitempty"` List string `protobuf:"bytes,4,opt,name=List,proto3" json:"List,omitempty"` } func (x *Reply) Reset() { *x = Reply{} if protoimpl.UnsafeEnabled { mi := &file_BaseRolePerson_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Reply) String() string { return protoimpl.X.MessageStringOf(x) } func (*Reply) ProtoMessage() {} func (x *Reply) ProtoReflect() protoreflect.Message { mi := &file_BaseRolePerson_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 Reply.ProtoReflect.Descriptor instead. func (*Reply) Descriptor() ([]byte, []int) { return file_BaseRolePerson_proto_rawDescGZIP(), []int{4} } func (x *Reply) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *Reply) GetMessage() string { if x != nil { return x.Message } return "" } func (x *Reply) GetCount() int32 { if x != nil { return x.Count } return 0 } func (x *Reply) GetList() string { if x != nil { return x.List } return "" } //删除参数 type DeleteIdsArg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields //一个或多个ID Ids []string `protobuf:"bytes,1,rep,name=Ids,proto3" json:"Ids,omitempty"` //操作人 ActionPersonId string `protobuf:"bytes,2,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"` //操作IP ActionIpAddress string `protobuf:"bytes,3,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"` } func (x *DeleteIdsArg) Reset() { *x = DeleteIdsArg{} if protoimpl.UnsafeEnabled { mi := &file_BaseRolePerson_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteIdsArg) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteIdsArg) ProtoMessage() {} func (x *DeleteIdsArg) ProtoReflect() protoreflect.Message { mi := &file_BaseRolePerson_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 DeleteIdsArg.ProtoReflect.Descriptor instead. func (*DeleteIdsArg) Descriptor() ([]byte, []int) { return file_BaseRolePerson_proto_rawDescGZIP(), []int{5} } func (x *DeleteIdsArg) GetIds() []string { if x != nil { return x.Ids } return nil } func (x *DeleteIdsArg) GetActionPersonId() string { if x != nil { return x.ActionPersonId } return "" } func (x *DeleteIdsArg) GetActionIpAddress() string { if x != nil { return x.ActionIpAddress } return "" } var File_BaseRolePerson_proto protoreflect.FileDescriptor var file_BaseRolePerson_proto_rawDesc = []byte{ 0x0a, 0x14, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x01, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x41, 0x72, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x41, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x72, 0x67, 0x49, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x41, 0x72, 0x65, 0x61, 0x41, 0x72, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x41, 0x72, 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xda, 0x02, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x55, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x42, 0x55, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x08, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x72, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x65, 0x0a, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x72, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x64, 0x73, 0x41, 0x72, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x49, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, 0xf1, 0x04, 0x0a, 0x14, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x64, 0x73, 0x41, 0x72, 0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x12, 0x50, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x72, 0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x41, 0x72, 0x65, 0x61, 0x12, 0x25, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x41, 0x72, 0x65, 0x61, 0x41, 0x72, 0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x2a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x41, 0x72, 0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x44, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x73, 0x69, 0x64, 0x65, 0x61, 0x6c, 0x2e, 0x64, 0x73, 0x6d, 0x69, 0x6e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x42, 0x0e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x15, 0x2e, 0x3b, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_BaseRolePerson_proto_rawDescOnce sync.Once file_BaseRolePerson_proto_rawDescData = file_BaseRolePerson_proto_rawDesc ) func file_BaseRolePerson_proto_rawDescGZIP() []byte { file_BaseRolePerson_proto_rawDescOnce.Do(func() { file_BaseRolePerson_proto_rawDescData = protoimpl.X.CompressGZIP(file_BaseRolePerson_proto_rawDescData) }) return file_BaseRolePerson_proto_rawDescData } var file_BaseRolePerson_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_BaseRolePerson_proto_goTypes = []interface{}{ (*CheckDataPrivilegeArg)(nil), // 0: BaseRolePersonProto.CheckDataPrivilegeArg (*GetManageAreaArg)(nil), // 1: BaseRolePersonProto.GetManageAreaArg (*ModelArg)(nil), // 2: BaseRolePersonProto.ModelArg (*QueryArg)(nil), // 3: BaseRolePersonProto.QueryArg (*Reply)(nil), // 4: BaseRolePersonProto.Reply (*DeleteIdsArg)(nil), // 5: BaseRolePersonProto.DeleteIdsArg } var file_BaseRolePerson_proto_depIdxs = []int32{ 2, // 0: BaseRolePersonProto.BaseRolePersonManage.GetBaseRolePerson:input_type -> BaseRolePersonProto.ModelArg 2, // 1: BaseRolePersonProto.BaseRolePersonManage.AddBaseRolePerson:input_type -> BaseRolePersonProto.ModelArg 5, // 2: BaseRolePersonProto.BaseRolePersonManage.DeleteBaseRolePerson:input_type -> BaseRolePersonProto.DeleteIdsArg 2, // 3: BaseRolePersonProto.BaseRolePersonManage.UpdateBaseRolePerson:input_type -> BaseRolePersonProto.ModelArg 3, // 4: BaseRolePersonProto.BaseRolePersonManage.PageBaseRolePerson:input_type -> BaseRolePersonProto.QueryArg 1, // 5: BaseRolePersonProto.BaseRolePersonManage.GetManageArea:input_type -> BaseRolePersonProto.GetManageAreaArg 0, // 6: BaseRolePersonProto.BaseRolePersonManage.CheckDataPrivilege:input_type -> BaseRolePersonProto.CheckDataPrivilegeArg 4, // 7: BaseRolePersonProto.BaseRolePersonManage.GetBaseRolePerson:output_type -> BaseRolePersonProto.Reply 4, // 8: BaseRolePersonProto.BaseRolePersonManage.AddBaseRolePerson:output_type -> BaseRolePersonProto.Reply 4, // 9: BaseRolePersonProto.BaseRolePersonManage.DeleteBaseRolePerson:output_type -> BaseRolePersonProto.Reply 4, // 10: BaseRolePersonProto.BaseRolePersonManage.UpdateBaseRolePerson:output_type -> BaseRolePersonProto.Reply 4, // 11: BaseRolePersonProto.BaseRolePersonManage.PageBaseRolePerson:output_type -> BaseRolePersonProto.Reply 4, // 12: BaseRolePersonProto.BaseRolePersonManage.GetManageArea:output_type -> BaseRolePersonProto.Reply 4, // 13: BaseRolePersonProto.BaseRolePersonManage.CheckDataPrivilege:output_type -> BaseRolePersonProto.Reply 7, // [7:14] is the sub-list for method output_type 0, // [0:7] 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_BaseRolePerson_proto_init() } func file_BaseRolePerson_proto_init() { if File_BaseRolePerson_proto != nil { return } if !protoimpl.UnsafeEnabled { file_BaseRolePerson_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckDataPrivilegeArg); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_BaseRolePerson_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetManageAreaArg); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_BaseRolePerson_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ModelArg); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_BaseRolePerson_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryArg); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_BaseRolePerson_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Reply); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_BaseRolePerson_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteIdsArg); 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_BaseRolePerson_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 1, }, GoTypes: file_BaseRolePerson_proto_goTypes, DependencyIndexes: file_BaseRolePerson_proto_depIdxs, MessageInfos: file_BaseRolePerson_proto_msgTypes, }.Build() File_BaseRolePerson_proto = out.File file_BaseRolePerson_proto_rawDesc = nil file_BaseRolePerson_proto_goTypes = nil file_BaseRolePerson_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // BaseRolePersonManageClient is the client API for BaseRolePersonManage service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type BaseRolePersonManageClient interface { //获取单条 GetBaseRolePerson(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) //增加 AddBaseRolePerson(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) //批量删除 DeleteBaseRolePerson(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error) //修改 UpdateBaseRolePerson(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) //查询(分页) PageBaseRolePerson(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error) //根据人员ID获取所管辖的地区信息 GetManageArea(ctx context.Context, in *GetManageAreaArg, opts ...grpc.CallOption) (*Reply, error) //判断指定人员权限数组范围内,是不是有指定数据对象的管理权限 CheckDataPrivilege(ctx context.Context, in *CheckDataPrivilegeArg, opts ...grpc.CallOption) (*Reply, error) } type baseRolePersonManageClient struct { cc grpc.ClientConnInterface } func NewBaseRolePersonManageClient(cc grpc.ClientConnInterface) BaseRolePersonManageClient { return &baseRolePersonManageClient{cc} } func (c *baseRolePersonManageClient) GetBaseRolePerson(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BaseRolePersonProto.BaseRolePersonManage/GetBaseRolePerson", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *baseRolePersonManageClient) AddBaseRolePerson(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BaseRolePersonProto.BaseRolePersonManage/AddBaseRolePerson", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *baseRolePersonManageClient) DeleteBaseRolePerson(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BaseRolePersonProto.BaseRolePersonManage/DeleteBaseRolePerson", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *baseRolePersonManageClient) UpdateBaseRolePerson(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BaseRolePersonProto.BaseRolePersonManage/UpdateBaseRolePerson", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *baseRolePersonManageClient) PageBaseRolePerson(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BaseRolePersonProto.BaseRolePersonManage/PageBaseRolePerson", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *baseRolePersonManageClient) GetManageArea(ctx context.Context, in *GetManageAreaArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BaseRolePersonProto.BaseRolePersonManage/GetManageArea", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *baseRolePersonManageClient) CheckDataPrivilege(ctx context.Context, in *CheckDataPrivilegeArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BaseRolePersonProto.BaseRolePersonManage/CheckDataPrivilege", in, out, opts...) if err != nil { return nil, err } return out, nil } // BaseRolePersonManageServer is the server API for BaseRolePersonManage service. type BaseRolePersonManageServer interface { //获取单条 GetBaseRolePerson(context.Context, *ModelArg) (*Reply, error) //增加 AddBaseRolePerson(context.Context, *ModelArg) (*Reply, error) //批量删除 DeleteBaseRolePerson(context.Context, *DeleteIdsArg) (*Reply, error) //修改 UpdateBaseRolePerson(context.Context, *ModelArg) (*Reply, error) //查询(分页) PageBaseRolePerson(context.Context, *QueryArg) (*Reply, error) //根据人员ID获取所管辖的地区信息 GetManageArea(context.Context, *GetManageAreaArg) (*Reply, error) //判断指定人员权限数组范围内,是不是有指定数据对象的管理权限 CheckDataPrivilege(context.Context, *CheckDataPrivilegeArg) (*Reply, error) } // UnimplementedBaseRolePersonManageServer can be embedded to have forward compatible implementations. type UnimplementedBaseRolePersonManageServer struct { } func (*UnimplementedBaseRolePersonManageServer) GetBaseRolePerson(context.Context, *ModelArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBaseRolePerson not implemented") } func (*UnimplementedBaseRolePersonManageServer) AddBaseRolePerson(context.Context, *ModelArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method AddBaseRolePerson not implemented") } func (*UnimplementedBaseRolePersonManageServer) DeleteBaseRolePerson(context.Context, *DeleteIdsArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteBaseRolePerson not implemented") } func (*UnimplementedBaseRolePersonManageServer) UpdateBaseRolePerson(context.Context, *ModelArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateBaseRolePerson not implemented") } func (*UnimplementedBaseRolePersonManageServer) PageBaseRolePerson(context.Context, *QueryArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method PageBaseRolePerson not implemented") } func (*UnimplementedBaseRolePersonManageServer) GetManageArea(context.Context, *GetManageAreaArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetManageArea not implemented") } func (*UnimplementedBaseRolePersonManageServer) CheckDataPrivilege(context.Context, *CheckDataPrivilegeArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckDataPrivilege not implemented") } func RegisterBaseRolePersonManageServer(s *grpc.Server, srv BaseRolePersonManageServer) { s.RegisterService(&_BaseRolePersonManage_serviceDesc, srv) } func _BaseRolePersonManage_GetBaseRolePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ModelArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BaseRolePersonManageServer).GetBaseRolePerson(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BaseRolePersonProto.BaseRolePersonManage/GetBaseRolePerson", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BaseRolePersonManageServer).GetBaseRolePerson(ctx, req.(*ModelArg)) } return interceptor(ctx, in, info, handler) } func _BaseRolePersonManage_AddBaseRolePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ModelArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BaseRolePersonManageServer).AddBaseRolePerson(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BaseRolePersonProto.BaseRolePersonManage/AddBaseRolePerson", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BaseRolePersonManageServer).AddBaseRolePerson(ctx, req.(*ModelArg)) } return interceptor(ctx, in, info, handler) } func _BaseRolePersonManage_DeleteBaseRolePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteIdsArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BaseRolePersonManageServer).DeleteBaseRolePerson(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BaseRolePersonProto.BaseRolePersonManage/DeleteBaseRolePerson", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BaseRolePersonManageServer).DeleteBaseRolePerson(ctx, req.(*DeleteIdsArg)) } return interceptor(ctx, in, info, handler) } func _BaseRolePersonManage_UpdateBaseRolePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ModelArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BaseRolePersonManageServer).UpdateBaseRolePerson(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BaseRolePersonProto.BaseRolePersonManage/UpdateBaseRolePerson", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BaseRolePersonManageServer).UpdateBaseRolePerson(ctx, req.(*ModelArg)) } return interceptor(ctx, in, info, handler) } func _BaseRolePersonManage_PageBaseRolePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BaseRolePersonManageServer).PageBaseRolePerson(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BaseRolePersonProto.BaseRolePersonManage/PageBaseRolePerson", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BaseRolePersonManageServer).PageBaseRolePerson(ctx, req.(*QueryArg)) } return interceptor(ctx, in, info, handler) } func _BaseRolePersonManage_GetManageArea_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetManageAreaArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BaseRolePersonManageServer).GetManageArea(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BaseRolePersonProto.BaseRolePersonManage/GetManageArea", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BaseRolePersonManageServer).GetManageArea(ctx, req.(*GetManageAreaArg)) } return interceptor(ctx, in, info, handler) } func _BaseRolePersonManage_CheckDataPrivilege_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CheckDataPrivilegeArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BaseRolePersonManageServer).CheckDataPrivilege(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BaseRolePersonProto.BaseRolePersonManage/CheckDataPrivilege", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BaseRolePersonManageServer).CheckDataPrivilege(ctx, req.(*CheckDataPrivilegeArg)) } return interceptor(ctx, in, info, handler) } var _BaseRolePersonManage_serviceDesc = grpc.ServiceDesc{ ServiceName: "BaseRolePersonProto.BaseRolePersonManage", HandlerType: (*BaseRolePersonManageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBaseRolePerson", Handler: _BaseRolePersonManage_GetBaseRolePerson_Handler, }, { MethodName: "AddBaseRolePerson", Handler: _BaseRolePersonManage_AddBaseRolePerson_Handler, }, { MethodName: "DeleteBaseRolePerson", Handler: _BaseRolePersonManage_DeleteBaseRolePerson_Handler, }, { MethodName: "UpdateBaseRolePerson", Handler: _BaseRolePersonManage_UpdateBaseRolePerson_Handler, }, { MethodName: "PageBaseRolePerson", Handler: _BaseRolePersonManage_PageBaseRolePerson_Handler, }, { MethodName: "GetManageArea", Handler: _BaseRolePersonManage_GetManageArea_Handler, }, { MethodName: "CheckDataPrivilege", Handler: _BaseRolePersonManage_CheckDataPrivilege_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "BaseRolePerson.proto", }