You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
901 lines
33 KiB
901 lines
33 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.21.0
|
|
// protoc v3.11.4
|
|
// source: BaseStudenimporexcel.proto
|
|
|
|
//在web层重新生成pb.go的方法
|
|
|
|
//
|
|
//protoc -I Business/BaseStudenimporexcel/BaseStudenimporexcelProto/ Business/BaseStudenimporexcel/BaseStudenimporexcelProto/BaseStudenimporexcel.proto --go_out=plugins=grpc:Business/BaseStudenimporexcel/BaseStudenimporexcelProto
|
|
|
|
package BaseStudenimporexcelProto
|
|
|
|
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 ModelArg struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
//ID
|
|
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
//单位ID
|
|
BureauId string `protobuf:"bytes,2,opt,name=BureauId,proto3" json:"BureauId,omitempty"`
|
|
//学部ID
|
|
StageId string `protobuf:"bytes,3,opt,name=StageId,proto3" json:"StageId,omitempty"`
|
|
//入学年份
|
|
Rxnf int32 `protobuf:"varint,4,opt,name=Rxnf,proto3" json:"Rxnf,omitempty"`
|
|
//班号
|
|
Bh int32 `protobuf:"varint,5,opt,name=Bh,proto3" json:"Bh,omitempty"`
|
|
//班级号
|
|
ClassId string `protobuf:"bytes,6,opt,name=ClassId,proto3" json:"ClassId,omitempty"`
|
|
//学生姓名
|
|
Xm string `protobuf:"bytes,7,opt,name=Xm,proto3" json:"Xm,omitempty"`
|
|
//性别码
|
|
Xbm string `protobuf:"bytes,8,opt,name=Xbm,proto3" json:"Xbm,omitempty"`
|
|
//出生日期
|
|
Csrq string `protobuf:"bytes,9,opt,name=Csrq,proto3" json:"Csrq,omitempty"`
|
|
//民族码
|
|
Mzm string `protobuf:"bytes,10,opt,name=Mzm,proto3" json:"Mzm,omitempty"`
|
|
//政治面貌码
|
|
Zzmmm string `protobuf:"bytes,11,opt,name=Zzmmm,proto3" json:"Zzmmm,omitempty"`
|
|
//身份证件类型码
|
|
Sfzjlxm string `protobuf:"bytes,12,opt,name=Sfzjlxm,proto3" json:"Sfzjlxm,omitempty"`
|
|
//身份证件号
|
|
Sfzjh string `protobuf:"bytes,13,opt,name=Sfzjh,proto3" json:"Sfzjh,omitempty"`
|
|
//独生子女
|
|
Dszybz int32 `protobuf:"varint,14,opt,name=Dszybz,proto3" json:"Dszybz,omitempty"`
|
|
//随迁子女
|
|
Sqznbz int32 `protobuf:"varint,15,opt,name=Sqznbz,proto3" json:"Sqznbz,omitempty"`
|
|
//进城务工人员子女
|
|
Jcwgrysqznbz int32 `protobuf:"varint,16,opt,name=Jcwgrysqznbz,proto3" json:"Jcwgrysqznbz,omitempty"`
|
|
//孤儿
|
|
Gebz int32 `protobuf:"varint,17,opt,name=Gebz,proto3" json:"Gebz,omitempty"`
|
|
//留守儿童
|
|
Lsetbz int32 `protobuf:"varint,18,opt,name=Lsetbz,proto3" json:"Lsetbz,omitempty"`
|
|
//残疾儿童
|
|
Cjbz int32 `protobuf:"varint,19,opt,name=Cjbz,proto3" json:"Cjbz,omitempty"`
|
|
//批次ID
|
|
BatchId string `protobuf:"bytes,20,opt,name=BatchId,proto3" json:"BatchId,omitempty"`
|
|
//对应的EXCEL是第几行的数据
|
|
RowNumber int32 `protobuf:"varint,21,opt,name=RowNumber,proto3" json:"RowNumber,omitempty"`
|
|
//人员ID
|
|
PersonId string `protobuf:"bytes,22,opt,name=PersonId,proto3" json:"PersonId,omitempty"`
|
|
//需要强制更新的列
|
|
ForceUpdateFields []string `protobuf:"bytes,23,rep,name=ForceUpdateFields,proto3" json:"ForceUpdateFields,omitempty"`
|
|
}
|
|
|
|
func (x *ModelArg) Reset() {
|
|
*x = ModelArg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_BaseStudenimporexcel_proto_msgTypes[0]
|
|
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_BaseStudenimporexcel_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 ModelArg.ProtoReflect.Descriptor instead.
|
|
func (*ModelArg) Descriptor() ([]byte, []int) {
|
|
return file_BaseStudenimporexcel_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ModelArg) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetBureauId() string {
|
|
if x != nil {
|
|
return x.BureauId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetStageId() string {
|
|
if x != nil {
|
|
return x.StageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetRxnf() int32 {
|
|
if x != nil {
|
|
return x.Rxnf
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetBh() int32 {
|
|
if x != nil {
|
|
return x.Bh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetClassId() string {
|
|
if x != nil {
|
|
return x.ClassId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetXm() string {
|
|
if x != nil {
|
|
return x.Xm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetXbm() string {
|
|
if x != nil {
|
|
return x.Xbm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetCsrq() string {
|
|
if x != nil {
|
|
return x.Csrq
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetMzm() string {
|
|
if x != nil {
|
|
return x.Mzm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetZzmmm() string {
|
|
if x != nil {
|
|
return x.Zzmmm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetSfzjlxm() string {
|
|
if x != nil {
|
|
return x.Sfzjlxm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetSfzjh() string {
|
|
if x != nil {
|
|
return x.Sfzjh
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetDszybz() int32 {
|
|
if x != nil {
|
|
return x.Dszybz
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetSqznbz() int32 {
|
|
if x != nil {
|
|
return x.Sqznbz
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetJcwgrysqznbz() int32 {
|
|
if x != nil {
|
|
return x.Jcwgrysqznbz
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetGebz() int32 {
|
|
if x != nil {
|
|
return x.Gebz
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetLsetbz() int32 {
|
|
if x != nil {
|
|
return x.Lsetbz
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetCjbz() int32 {
|
|
if x != nil {
|
|
return x.Cjbz
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetBatchId() string {
|
|
if x != nil {
|
|
return x.BatchId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetRowNumber() int32 {
|
|
if x != nil {
|
|
return x.RowNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModelArg) GetPersonId() string {
|
|
if x != nil {
|
|
return x.PersonId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelArg) GetForceUpdateFields() []string {
|
|
if x != nil {
|
|
return x.ForceUpdateFields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查询参数
|
|
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"`
|
|
}
|
|
|
|
func (x *QueryArg) Reset() {
|
|
*x = QueryArg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_BaseStudenimporexcel_proto_msgTypes[1]
|
|
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_BaseStudenimporexcel_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 QueryArg.ProtoReflect.Descriptor instead.
|
|
func (*QueryArg) Descriptor() ([]byte, []int) {
|
|
return file_BaseStudenimporexcel_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
// 查询请求响应
|
|
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_BaseStudenimporexcel_proto_msgTypes[2]
|
|
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_BaseStudenimporexcel_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 Reply.ProtoReflect.Descriptor instead.
|
|
func (*Reply) Descriptor() ([]byte, []int) {
|
|
return file_BaseStudenimporexcel_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *DeleteIdsArg) Reset() {
|
|
*x = DeleteIdsArg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_BaseStudenimporexcel_proto_msgTypes[3]
|
|
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_BaseStudenimporexcel_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 DeleteIdsArg.ProtoReflect.Descriptor instead.
|
|
func (*DeleteIdsArg) Descriptor() ([]byte, []int) {
|
|
return file_BaseStudenimporexcel_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DeleteIdsArg) GetIds() []string {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_BaseStudenimporexcel_proto protoreflect.FileDescriptor
|
|
|
|
var file_BaseStudenimporexcel_proto_rawDesc = []byte{
|
|
0x0a, 0x1a, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f,
|
|
0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x42, 0x61,
|
|
0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63,
|
|
0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x04, 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, 0x1a, 0x0a, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64,
|
|
0x12, 0x18, 0x0a, 0x07, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x07, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x78,
|
|
0x6e, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x78, 0x6e, 0x66, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x42, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x42, 0x68, 0x12, 0x18,
|
|
0x0a, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x58, 0x6d, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x58, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x58, 0x62, 0x6d, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x58, 0x62, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x73,
|
|
0x72, 0x71, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x43, 0x73, 0x72, 0x71, 0x12, 0x10,
|
|
0x0a, 0x03, 0x4d, 0x7a, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x7a, 0x6d,
|
|
0x12, 0x14, 0x0a, 0x05, 0x5a, 0x7a, 0x6d, 0x6d, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x5a, 0x7a, 0x6d, 0x6d, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x66, 0x7a, 0x6a, 0x6c, 0x78,
|
|
0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x53, 0x66, 0x7a, 0x6a, 0x6c, 0x78, 0x6d,
|
|
0x12, 0x14, 0x0a, 0x05, 0x53, 0x66, 0x7a, 0x6a, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x53, 0x66, 0x7a, 0x6a, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x44, 0x73, 0x7a, 0x79, 0x62, 0x7a,
|
|
0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x44, 0x73, 0x7a, 0x79, 0x62, 0x7a, 0x12, 0x16,
|
|
0x0a, 0x06, 0x53, 0x71, 0x7a, 0x6e, 0x62, 0x7a, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
|
0x53, 0x71, 0x7a, 0x6e, 0x62, 0x7a, 0x12, 0x22, 0x0a, 0x0c, 0x4a, 0x63, 0x77, 0x67, 0x72, 0x79,
|
|
0x73, 0x71, 0x7a, 0x6e, 0x62, 0x7a, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x4a, 0x63,
|
|
0x77, 0x67, 0x72, 0x79, 0x73, 0x71, 0x7a, 0x6e, 0x62, 0x7a, 0x12, 0x12, 0x0a, 0x04, 0x47, 0x65,
|
|
0x62, 0x7a, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x47, 0x65, 0x62, 0x7a, 0x12, 0x16,
|
|
0x0a, 0x06, 0x4c, 0x73, 0x65, 0x74, 0x62, 0x7a, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
|
0x4c, 0x73, 0x65, 0x74, 0x62, 0x7a, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6a, 0x62, 0x7a, 0x18, 0x13,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6a, 0x62, 0x7a, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61,
|
|
0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x42, 0x61, 0x74,
|
|
0x63, 0x68, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x52, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65,
|
|
0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x52, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62,
|
|
0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x16,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c,
|
|
0x0a, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65,
|
|
0x6c, 0x64, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65,
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x34, 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, 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, 0x20, 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, 0x32, 0x9b, 0x04, 0x0a, 0x1a,
|
|
0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65,
|
|
0x78, 0x63, 0x65, 0x6c, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x47, 0x65,
|
|
0x74, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72,
|
|
0x65, 0x78, 0x63, 0x65, 0x6c, 0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64,
|
|
0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73,
|
|
0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65,
|
|
0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x62,
|
|
0x0a, 0x17, 0x41, 0x64, 0x64, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69,
|
|
0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65,
|
|
0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c,
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x20,
|
|
0x2e, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72,
|
|
0x65, 0x78, 0x63, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
0x22, 0x00, 0x12, 0x69, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65,
|
|
0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c,
|
|
0x12, 0x27, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70,
|
|
0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x6c,
|
|
0x65, 0x74, 0x65, 0x49, 0x64, 0x73, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65,
|
|
0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c,
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x65, 0x0a,
|
|
0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65,
|
|
0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x12, 0x23, 0x2e, 0x42, 0x61,
|
|
0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63,
|
|
0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67,
|
|
0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70,
|
|
0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70,
|
|
0x6c, 0x79, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x18, 0x50, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65,
|
|
0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c,
|
|
0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70,
|
|
0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x75, 0x65,
|
|
0x72, 0x79, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64,
|
|
0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x50, 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, 0x14, 0x42, 0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69,
|
|
0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x50, 0x01, 0x5a, 0x1b, 0x2e, 0x3b, 0x42,
|
|
0x61, 0x73, 0x65, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x65, 0x78,
|
|
0x63, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_BaseStudenimporexcel_proto_rawDescOnce sync.Once
|
|
file_BaseStudenimporexcel_proto_rawDescData = file_BaseStudenimporexcel_proto_rawDesc
|
|
)
|
|
|
|
func file_BaseStudenimporexcel_proto_rawDescGZIP() []byte {
|
|
file_BaseStudenimporexcel_proto_rawDescOnce.Do(func() {
|
|
file_BaseStudenimporexcel_proto_rawDescData = protoimpl.X.CompressGZIP(file_BaseStudenimporexcel_proto_rawDescData)
|
|
})
|
|
return file_BaseStudenimporexcel_proto_rawDescData
|
|
}
|
|
|
|
var file_BaseStudenimporexcel_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_BaseStudenimporexcel_proto_goTypes = []interface{}{
|
|
(*ModelArg)(nil), // 0: BaseStudenimporexcelProto.ModelArg
|
|
(*QueryArg)(nil), // 1: BaseStudenimporexcelProto.QueryArg
|
|
(*Reply)(nil), // 2: BaseStudenimporexcelProto.Reply
|
|
(*DeleteIdsArg)(nil), // 3: BaseStudenimporexcelProto.DeleteIdsArg
|
|
}
|
|
var file_BaseStudenimporexcel_proto_depIdxs = []int32{
|
|
0, // 0: BaseStudenimporexcelProto.BaseStudenimporexcelManage.GetBaseStudenimporexcel:input_type -> BaseStudenimporexcelProto.ModelArg
|
|
0, // 1: BaseStudenimporexcelProto.BaseStudenimporexcelManage.AddBaseStudenimporexcel:input_type -> BaseStudenimporexcelProto.ModelArg
|
|
3, // 2: BaseStudenimporexcelProto.BaseStudenimporexcelManage.DeleteBaseStudenimporexcel:input_type -> BaseStudenimporexcelProto.DeleteIdsArg
|
|
0, // 3: BaseStudenimporexcelProto.BaseStudenimporexcelManage.UpdateBaseStudenimporexcel:input_type -> BaseStudenimporexcelProto.ModelArg
|
|
1, // 4: BaseStudenimporexcelProto.BaseStudenimporexcelManage.PageBaseStudenimporexcel:input_type -> BaseStudenimporexcelProto.QueryArg
|
|
2, // 5: BaseStudenimporexcelProto.BaseStudenimporexcelManage.GetBaseStudenimporexcel:output_type -> BaseStudenimporexcelProto.Reply
|
|
2, // 6: BaseStudenimporexcelProto.BaseStudenimporexcelManage.AddBaseStudenimporexcel:output_type -> BaseStudenimporexcelProto.Reply
|
|
2, // 7: BaseStudenimporexcelProto.BaseStudenimporexcelManage.DeleteBaseStudenimporexcel:output_type -> BaseStudenimporexcelProto.Reply
|
|
2, // 8: BaseStudenimporexcelProto.BaseStudenimporexcelManage.UpdateBaseStudenimporexcel:output_type -> BaseStudenimporexcelProto.Reply
|
|
2, // 9: BaseStudenimporexcelProto.BaseStudenimporexcelManage.PageBaseStudenimporexcel:output_type -> BaseStudenimporexcelProto.Reply
|
|
5, // [5:10] is the sub-list for method output_type
|
|
0, // [0:5] 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_BaseStudenimporexcel_proto_init() }
|
|
func file_BaseStudenimporexcel_proto_init() {
|
|
if File_BaseStudenimporexcel_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_BaseStudenimporexcel_proto_msgTypes[0].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_BaseStudenimporexcel_proto_msgTypes[1].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_BaseStudenimporexcel_proto_msgTypes[2].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_BaseStudenimporexcel_proto_msgTypes[3].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_BaseStudenimporexcel_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_BaseStudenimporexcel_proto_goTypes,
|
|
DependencyIndexes: file_BaseStudenimporexcel_proto_depIdxs,
|
|
MessageInfos: file_BaseStudenimporexcel_proto_msgTypes,
|
|
}.Build()
|
|
File_BaseStudenimporexcel_proto = out.File
|
|
file_BaseStudenimporexcel_proto_rawDesc = nil
|
|
file_BaseStudenimporexcel_proto_goTypes = nil
|
|
file_BaseStudenimporexcel_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
|
|
|
|
// BaseStudenimporexcelManageClient is the client API for BaseStudenimporexcelManage service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type BaseStudenimporexcelManageClient interface {
|
|
//获取单条
|
|
GetBaseStudenimporexcel(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
//增加
|
|
AddBaseStudenimporexcel(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
//批量删除
|
|
DeleteBaseStudenimporexcel(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error)
|
|
//修改
|
|
UpdateBaseStudenimporexcel(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
//查询(分页)
|
|
PageBaseStudenimporexcel(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error)
|
|
}
|
|
|
|
type baseStudenimporexcelManageClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewBaseStudenimporexcelManageClient(cc grpc.ClientConnInterface) BaseStudenimporexcelManageClient {
|
|
return &baseStudenimporexcelManageClient{cc}
|
|
}
|
|
|
|
func (c *baseStudenimporexcelManageClient) GetBaseStudenimporexcel(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
out := new(Reply)
|
|
err := c.cc.Invoke(ctx, "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/GetBaseStudenimporexcel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *baseStudenimporexcelManageClient) AddBaseStudenimporexcel(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
out := new(Reply)
|
|
err := c.cc.Invoke(ctx, "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/AddBaseStudenimporexcel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *baseStudenimporexcelManageClient) DeleteBaseStudenimporexcel(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
out := new(Reply)
|
|
err := c.cc.Invoke(ctx, "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/DeleteBaseStudenimporexcel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *baseStudenimporexcelManageClient) UpdateBaseStudenimporexcel(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
out := new(Reply)
|
|
err := c.cc.Invoke(ctx, "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/UpdateBaseStudenimporexcel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *baseStudenimporexcelManageClient) PageBaseStudenimporexcel(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
out := new(Reply)
|
|
err := c.cc.Invoke(ctx, "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/PageBaseStudenimporexcel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// BaseStudenimporexcelManageServer is the server API for BaseStudenimporexcelManage service.
|
|
type BaseStudenimporexcelManageServer interface {
|
|
//获取单条
|
|
GetBaseStudenimporexcel(context.Context, *ModelArg) (*Reply, error)
|
|
//增加
|
|
AddBaseStudenimporexcel(context.Context, *ModelArg) (*Reply, error)
|
|
//批量删除
|
|
DeleteBaseStudenimporexcel(context.Context, *DeleteIdsArg) (*Reply, error)
|
|
//修改
|
|
UpdateBaseStudenimporexcel(context.Context, *ModelArg) (*Reply, error)
|
|
//查询(分页)
|
|
PageBaseStudenimporexcel(context.Context, *QueryArg) (*Reply, error)
|
|
}
|
|
|
|
// UnimplementedBaseStudenimporexcelManageServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedBaseStudenimporexcelManageServer struct {
|
|
}
|
|
|
|
func (*UnimplementedBaseStudenimporexcelManageServer) GetBaseStudenimporexcel(context.Context, *ModelArg) (*Reply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetBaseStudenimporexcel not implemented")
|
|
}
|
|
func (*UnimplementedBaseStudenimporexcelManageServer) AddBaseStudenimporexcel(context.Context, *ModelArg) (*Reply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddBaseStudenimporexcel not implemented")
|
|
}
|
|
func (*UnimplementedBaseStudenimporexcelManageServer) DeleteBaseStudenimporexcel(context.Context, *DeleteIdsArg) (*Reply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteBaseStudenimporexcel not implemented")
|
|
}
|
|
func (*UnimplementedBaseStudenimporexcelManageServer) UpdateBaseStudenimporexcel(context.Context, *ModelArg) (*Reply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateBaseStudenimporexcel not implemented")
|
|
}
|
|
func (*UnimplementedBaseStudenimporexcelManageServer) PageBaseStudenimporexcel(context.Context, *QueryArg) (*Reply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method PageBaseStudenimporexcel not implemented")
|
|
}
|
|
|
|
func RegisterBaseStudenimporexcelManageServer(s *grpc.Server, srv BaseStudenimporexcelManageServer) {
|
|
s.RegisterService(&_BaseStudenimporexcelManage_serviceDesc, srv)
|
|
}
|
|
|
|
func _BaseStudenimporexcelManage_GetBaseStudenimporexcel_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.(BaseStudenimporexcelManageServer).GetBaseStudenimporexcel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/GetBaseStudenimporexcel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BaseStudenimporexcelManageServer).GetBaseStudenimporexcel(ctx, req.(*ModelArg))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _BaseStudenimporexcelManage_AddBaseStudenimporexcel_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.(BaseStudenimporexcelManageServer).AddBaseStudenimporexcel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/AddBaseStudenimporexcel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BaseStudenimporexcelManageServer).AddBaseStudenimporexcel(ctx, req.(*ModelArg))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _BaseStudenimporexcelManage_DeleteBaseStudenimporexcel_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.(BaseStudenimporexcelManageServer).DeleteBaseStudenimporexcel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/DeleteBaseStudenimporexcel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BaseStudenimporexcelManageServer).DeleteBaseStudenimporexcel(ctx, req.(*DeleteIdsArg))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _BaseStudenimporexcelManage_UpdateBaseStudenimporexcel_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.(BaseStudenimporexcelManageServer).UpdateBaseStudenimporexcel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/UpdateBaseStudenimporexcel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BaseStudenimporexcelManageServer).UpdateBaseStudenimporexcel(ctx, req.(*ModelArg))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _BaseStudenimporexcelManage_PageBaseStudenimporexcel_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.(BaseStudenimporexcelManageServer).PageBaseStudenimporexcel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/BaseStudenimporexcelProto.BaseStudenimporexcelManage/PageBaseStudenimporexcel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BaseStudenimporexcelManageServer).PageBaseStudenimporexcel(ctx, req.(*QueryArg))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _BaseStudenimporexcelManage_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "BaseStudenimporexcelProto.BaseStudenimporexcelManage",
|
|
HandlerType: (*BaseStudenimporexcelManageServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetBaseStudenimporexcel",
|
|
Handler: _BaseStudenimporexcelManage_GetBaseStudenimporexcel_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddBaseStudenimporexcel",
|
|
Handler: _BaseStudenimporexcelManage_AddBaseStudenimporexcel_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteBaseStudenimporexcel",
|
|
Handler: _BaseStudenimporexcelManage_DeleteBaseStudenimporexcel_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateBaseStudenimporexcel",
|
|
Handler: _BaseStudenimporexcelManage_UpdateBaseStudenimporexcel_Handler,
|
|
},
|
|
{
|
|
MethodName: "PageBaseStudenimporexcel",
|
|
Handler: _BaseStudenimporexcelManage_PageBaseStudenimporexcel_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "BaseStudenimporexcel.proto",
|
|
}
|