From 0c84150ea599c17811f902f92cca842d386dfaec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Mon, 4 Jan 2021 13:48:33 +0800 Subject: [PATCH] 'commit' --- .../BaseClass/BaseClassProto/BaseClass.pb.go | 20 +++++++++---------- .../BaseClass/BaseClassProto/BaseClass.proto | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.pb.go b/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.pb.go index 9f3ca196..c06b7207 100644 --- a/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.pb.go +++ b/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.4 +// protoc-gen-go v1.25.0 +// protoc v3.14.0 // source: BaseClass.proto //在web层重新生成pb.go的方法 @@ -133,7 +133,7 @@ type ModelArg struct { //学制 SchoolingLength int32 `protobuf:"varint,9,opt,name=SchoolingLength,proto3" json:"SchoolingLength,omitempty"` //所属学段ID - StageId string `protobuf:"bytes,10,opt,name=StageId,proto3" json:"StageId,omitempty"` + StageId int32 `protobuf:"varint,10,opt,name=StageId,proto3" json:"StageId,omitempty"` //班主任ID TeacherId string `protobuf:"bytes,11,opt,name=TeacherId,proto3" json:"TeacherId,omitempty"` //所在部门(除职业和高等外都是0) @@ -259,11 +259,11 @@ func (x *ModelArg) GetSchoolingLength() int32 { return 0 } -func (x *ModelArg) GetStageId() string { +func (x *ModelArg) GetStageId() int32 { if x != nil { return x.StageId } - return "" + return 0 } func (x *ModelArg) GetTeacherId() string { @@ -375,7 +375,7 @@ type QueryArg struct { //学校ID BureauId string `protobuf:"bytes,3,opt,name=BureauId,proto3" json:"BureauId,omitempty"` //学部ID - StageId string `protobuf:"bytes,4,opt,name=stageId,proto3" json:"stageId,omitempty"` + StageId int32 `protobuf:"varint,4,opt,name=stageId,proto3" json:"stageId,omitempty"` //入学年份 Rxnf int32 `protobuf:"varint,5,opt,name=Rxnf,proto3" json:"Rxnf,omitempty"` //需要滤掉的班级ID @@ -439,11 +439,11 @@ func (x *QueryArg) GetBureauId() string { return "" } -func (x *QueryArg) GetStageId() string { +func (x *QueryArg) GetStageId() int32 { if x != nil { return x.StageId } - return "" + return 0 } func (x *QueryArg) GetRxnf() int32 { @@ -644,7 +644,7 @@ var file_BaseClass_proto_rawDesc = []byte{ 0x12, 0x28, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x74, - 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x53, 0x74, 0x61, + 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x72, 0x67, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, @@ -679,7 +679,7 @@ var file_BaseClass_proto_rawDesc = []byte{ 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x78, 0x6e, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x78, 0x6e, 0x66, 0x12, 0x24, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, diff --git a/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.proto b/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.proto index a08b374d..97c1b47a 100644 --- a/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.proto +++ b/dsBaseRpc/RpcService/BaseClass/BaseClassProto/BaseClass.proto @@ -64,7 +64,7 @@ message ModelArg { //学制 int32 SchoolingLength = 9; //所属学段ID - string StageId = 10; + int32 StageId = 10; //班主任ID string TeacherId = 11; //所在部门(除职业和高等外都是0) @@ -102,7 +102,7 @@ message QueryArg{ //学校ID string BureauId = 3; //学部ID - string stageId = 4; + int32 stageId = 4; //入学年份 int32 Rxnf = 5; //需要滤掉的班级ID