|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
// versions:
|
|
|
// protoc-gen-go v1.21.0
|
|
|
// protoc v3.11.4
|
|
|
// source: BaseTeacherLog.proto
|
|
|
|
|
|
//在web层重新生成pb.go的方法
|
|
|
|
|
|
//
|
|
|
//protoc -I Business/BaseTeacherLog/BaseTeacherLogProto/ Business/BaseTeacherLog/BaseTeacherLogProto/BaseTeacherLog.proto --go_out=plugins=grpc:Business/BaseTeacherLog/BaseTeacherLogProto
|
|
|
|
|
|
package BaseTeacherLogProto
|
|
|
|
|
|
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
|
|
|
|
|
|
//日志主键
|
|
|
LogId string `protobuf:"bytes,1,opt,name=LogId,proto3" json:"LogId,omitempty"`
|
|
|
//教师ID
|
|
|
PersonId string `protobuf:"bytes,2,opt,name=PersonId,proto3" json:"PersonId,omitempty"`
|
|
|
//整数ID
|
|
|
IdInt int32 `protobuf:"varint,3,opt,name=IdInt,proto3" json:"IdInt,omitempty"`
|
|
|
//人员身份ID
|
|
|
IdentityId int32 `protobuf:"varint,4,opt,name=IdentityId,proto3" json:"IdentityId,omitempty"`
|
|
|
//教师姓名
|
|
|
Xm string `protobuf:"bytes,5,opt,name=Xm,proto3" json:"Xm,omitempty"`
|
|
|
//教师姓名拼音
|
|
|
Xmpy string `protobuf:"bytes,6,opt,name=Xmpy,proto3" json:"Xmpy,omitempty"`
|
|
|
//曾用名
|
|
|
Cym string `protobuf:"bytes,7,opt,name=Cym,proto3" json:"Cym,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"`
|
|
|
//学历 (有字典)
|
|
|
Xlm string `protobuf:"bytes,14,opt,name=Xlm,proto3" json:"Xlm,omitempty"`
|
|
|
//学位 (有字典)
|
|
|
Xwm string `protobuf:"bytes,15,opt,name=Xwm,proto3" json:"Xwm,omitempty"`
|
|
|
//职称 (有字典)
|
|
|
Zcm string `protobuf:"bytes,16,opt,name=Zcm,proto3" json:"Zcm,omitempty"`
|
|
|
//编制 (有字典)
|
|
|
Bzlbm string `protobuf:"bytes,17,opt,name=Bzlbm,proto3" json:"Bzlbm,omitempty"`
|
|
|
//从教年月
|
|
|
Cjny string `protobuf:"bytes,18,opt,name=Cjny,proto3" json:"Cjny,omitempty"`
|
|
|
//主要任课学段 (有字典)
|
|
|
StageId string `protobuf:"bytes,19,opt,name=StageId,proto3" json:"StageId,omitempty"`
|
|
|
//主要任课学科 (有字典)
|
|
|
SubjectId string `protobuf:"bytes,20,opt,name=SubjectId,proto3" json:"SubjectId,omitempty"`
|
|
|
//岗位 (有字典)
|
|
|
Gwzym string `protobuf:"bytes,21,opt,name=Gwzym,proto3" json:"Gwzym,omitempty"`
|
|
|
//联系电话
|
|
|
Lxdh string `protobuf:"bytes,22,opt,name=Lxdh,proto3" json:"Lxdh,omitempty"`
|
|
|
//电子信箱
|
|
|
Dzxx string `protobuf:"bytes,23,opt,name=Dzxx,proto3" json:"Dzxx,omitempty"`
|
|
|
//是否启用 0:未启用 1:启用
|
|
|
BUse int32 `protobuf:"varint,24,opt,name=BUse,proto3" json:"BUse,omitempty"`
|
|
|
//教师状态码
|
|
|
StateId int32 `protobuf:"varint,25,opt,name=StateId,proto3" json:"StateId,omitempty"`
|
|
|
//最后修改时间
|
|
|
LastUpdatedTime string `protobuf:"bytes,26,opt,name=LastUpdatedTime,proto3" json:"LastUpdatedTime,omitempty"`
|
|
|
//创建时间
|
|
|
CreateTime string `protobuf:"bytes,27,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
|
|
|
//操作人员ID
|
|
|
ActionPersonId string `protobuf:"bytes,28,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"`
|
|
|
//操作IP
|
|
|
ActionIpAddress string `protobuf:"bytes,29,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"`
|
|
|
//操作时间
|
|
|
ActionTime string `protobuf:"bytes,30,opt,name=ActionTime,proto3" json:"ActionTime,omitempty"`
|
|
|
//操作代码
|
|
|
ActionCode string `protobuf:"bytes,31,opt,name=ActionCode,proto3" json:"ActionCode,omitempty"`
|
|
|
//需要强制更新的列
|
|
|
ForceUpdateFields []string `protobuf:"bytes,32,rep,name=ForceUpdateFields,proto3" json:"ForceUpdateFields,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) Reset() {
|
|
|
*x = ModelArg{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_proto_rawDescGZIP(), []int{0}
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetLogId() string {
|
|
|
if x != nil {
|
|
|
return x.LogId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetPersonId() string {
|
|
|
if x != nil {
|
|
|
return x.PersonId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetIdInt() int32 {
|
|
|
if x != nil {
|
|
|
return x.IdInt
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetIdentityId() int32 {
|
|
|
if x != nil {
|
|
|
return x.IdentityId
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetXm() string {
|
|
|
if x != nil {
|
|
|
return x.Xm
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetXmpy() string {
|
|
|
if x != nil {
|
|
|
return x.Xmpy
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetCym() string {
|
|
|
if x != nil {
|
|
|
return x.Cym
|
|
|
}
|
|
|
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) GetXlm() string {
|
|
|
if x != nil {
|
|
|
return x.Xlm
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetXwm() string {
|
|
|
if x != nil {
|
|
|
return x.Xwm
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetZcm() string {
|
|
|
if x != nil {
|
|
|
return x.Zcm
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetBzlbm() string {
|
|
|
if x != nil {
|
|
|
return x.Bzlbm
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetCjny() string {
|
|
|
if x != nil {
|
|
|
return x.Cjny
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetStageId() string {
|
|
|
if x != nil {
|
|
|
return x.StageId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetSubjectId() string {
|
|
|
if x != nil {
|
|
|
return x.SubjectId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetGwzym() string {
|
|
|
if x != nil {
|
|
|
return x.Gwzym
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetLxdh() string {
|
|
|
if x != nil {
|
|
|
return x.Lxdh
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetDzxx() string {
|
|
|
if x != nil {
|
|
|
return x.Dzxx
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetBUse() int32 {
|
|
|
if x != nil {
|
|
|
return x.BUse
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetStateId() int32 {
|
|
|
if x != nil {
|
|
|
return x.StateId
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetLastUpdatedTime() string {
|
|
|
if x != nil {
|
|
|
return x.LastUpdatedTime
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetCreateTime() string {
|
|
|
if x != nil {
|
|
|
return x.CreateTime
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetActionPersonId() string {
|
|
|
if x != nil {
|
|
|
return x.ActionPersonId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetActionIpAddress() string {
|
|
|
if x != nil {
|
|
|
return x.ActionIpAddress
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetActionTime() string {
|
|
|
if x != nil {
|
|
|
return x.ActionTime
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetActionCode() string {
|
|
|
if x != nil {
|
|
|
return x.ActionCode
|
|
|
}
|
|
|
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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
func (x *DeleteIdsArg) GetIds() []string {
|
|
|
if x != nil {
|
|
|
return x.Ids
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
var File_BaseTeacherLog_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_BaseTeacherLog_proto_rawDesc = []byte{
|
|
|
0x0a, 0x14, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67,
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63,
|
|
|
0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x06, 0x0a, 0x08,
|
|
|
0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x49,
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x1a,
|
|
|
0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
0x52, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x64,
|
|
|
0x49, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x49, 0x64, 0x49, 0x6e, 0x74,
|
|
|
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, 0x0e, 0x0a, 0x02, 0x58, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x58, 0x6d,
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x58, 0x6d, 0x70, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
0x58, 0x6d, 0x70, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x43, 0x79, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
|
0x09, 0x52, 0x03, 0x43, 0x79, 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, 0x10, 0x0a, 0x03, 0x58, 0x6c, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28,
|
|
|
0x09, 0x52, 0x03, 0x58, 0x6c, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x58, 0x77, 0x6d, 0x18, 0x0f, 0x20,
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x58, 0x77, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x5a, 0x63, 0x6d, 0x18,
|
|
|
0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x5a, 0x63, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x42, 0x7a,
|
|
|
0x6c, 0x62, 0x6d, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x42, 0x7a, 0x6c, 0x62, 0x6d,
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x43, 0x6a, 0x6e, 0x79, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
0x43, 0x6a, 0x6e, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18,
|
|
|
0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1c,
|
|
|
0x0a, 0x09, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28,
|
|
|
0x09, 0x52, 0x09, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
|
|
0x47, 0x77, 0x7a, 0x79, 0x6d, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x47, 0x77, 0x7a,
|
|
|
0x79, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x4c, 0x78, 0x64, 0x68, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09,
|
|
|
0x52, 0x04, 0x4c, 0x78, 0x64, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x7a, 0x78, 0x78, 0x18, 0x17,
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x44, 0x7a, 0x78, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x55,
|
|
|
0x73, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x42, 0x55, 0x73, 0x65, 0x12, 0x18,
|
|
|
0x0a, 0x07, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
0x07, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x4c, 0x61, 0x73, 0x74,
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28,
|
|
|
0x09, 0x52, 0x0f, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69,
|
|
|
0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
|
|
|
0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
|
|
|
0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73,
|
|
|
0x6f, 0x6e, 0x49, 0x64, 0x18, 0x1c, 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, 0x1d, 0x20,
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64,
|
|
|
0x72, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69,
|
|
|
0x6d, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
|
|
|
0x64, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
0x43, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64,
|
|
|
0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x20, 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, 0xbb, 0x03, 0x0a, 0x14, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65,
|
|
|
0x72, 0x4c, 0x6f, 0x67, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x47, 0x65,
|
|
|
0x74, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x12,
|
|
|
0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67,
|
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x1a,
|
|
|
0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x50,
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x11,
|
|
|
0x41, 0x64, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f,
|
|
|
0x67, 0x12, 0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c,
|
|
|
0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67,
|
|
|
0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f,
|
|
|
0x67, 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, 0x54, 0x65, 0x61, 0x63,
|
|
|
0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x21, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61,
|
|
|
0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 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,
|
|
|
0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 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, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x12,
|
|
|
0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67,
|
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x1a,
|
|
|
0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 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, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c,
|
|
|
0x6f, 0x67, 0x12, 0x1d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72,
|
|
|
0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x72,
|
|
|
0x67, 0x1a, 0x1a, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c,
|
|
|
0x6f, 0x67, 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, 0x54,
|
|
|
0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x50, 0x01, 0x5a, 0x15, 0x2e, 0x3b, 0x42,
|
|
|
0x61, 0x73, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f,
|
|
|
0x74, 0x6f, 0xa2, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
file_BaseTeacherLog_proto_rawDescOnce sync.Once
|
|
|
file_BaseTeacherLog_proto_rawDescData = file_BaseTeacherLog_proto_rawDesc
|
|
|
)
|
|
|
|
|
|
func file_BaseTeacherLog_proto_rawDescGZIP() []byte {
|
|
|
file_BaseTeacherLog_proto_rawDescOnce.Do(func() {
|
|
|
file_BaseTeacherLog_proto_rawDescData = protoimpl.X.CompressGZIP(file_BaseTeacherLog_proto_rawDescData)
|
|
|
})
|
|
|
return file_BaseTeacherLog_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
var file_BaseTeacherLog_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
var file_BaseTeacherLog_proto_goTypes = []interface{}{
|
|
|
(*ModelArg)(nil), // 0: BaseTeacherLogProto.ModelArg
|
|
|
(*QueryArg)(nil), // 1: BaseTeacherLogProto.QueryArg
|
|
|
(*Reply)(nil), // 2: BaseTeacherLogProto.Reply
|
|
|
(*DeleteIdsArg)(nil), // 3: BaseTeacherLogProto.DeleteIdsArg
|
|
|
}
|
|
|
var file_BaseTeacherLog_proto_depIdxs = []int32{
|
|
|
0, // 0: BaseTeacherLogProto.BaseTeacherLogManage.GetBaseTeacherLog:input_type -> BaseTeacherLogProto.ModelArg
|
|
|
0, // 1: BaseTeacherLogProto.BaseTeacherLogManage.AddBaseTeacherLog:input_type -> BaseTeacherLogProto.ModelArg
|
|
|
3, // 2: BaseTeacherLogProto.BaseTeacherLogManage.DeleteBaseTeacherLog:input_type -> BaseTeacherLogProto.DeleteIdsArg
|
|
|
0, // 3: BaseTeacherLogProto.BaseTeacherLogManage.UpdateBaseTeacherLog:input_type -> BaseTeacherLogProto.ModelArg
|
|
|
1, // 4: BaseTeacherLogProto.BaseTeacherLogManage.PageBaseTeacherLog:input_type -> BaseTeacherLogProto.QueryArg
|
|
|
2, // 5: BaseTeacherLogProto.BaseTeacherLogManage.GetBaseTeacherLog:output_type -> BaseTeacherLogProto.Reply
|
|
|
2, // 6: BaseTeacherLogProto.BaseTeacherLogManage.AddBaseTeacherLog:output_type -> BaseTeacherLogProto.Reply
|
|
|
2, // 7: BaseTeacherLogProto.BaseTeacherLogManage.DeleteBaseTeacherLog:output_type -> BaseTeacherLogProto.Reply
|
|
|
2, // 8: BaseTeacherLogProto.BaseTeacherLogManage.UpdateBaseTeacherLog:output_type -> BaseTeacherLogProto.Reply
|
|
|
2, // 9: BaseTeacherLogProto.BaseTeacherLogManage.PageBaseTeacherLog:output_type -> BaseTeacherLogProto.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_BaseTeacherLog_proto_init() }
|
|
|
func file_BaseTeacherLog_proto_init() {
|
|
|
if File_BaseTeacherLog_proto != nil {
|
|
|
return
|
|
|
}
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
file_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_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_BaseTeacherLog_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
NumMessages: 4,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|
|
|
GoTypes: file_BaseTeacherLog_proto_goTypes,
|
|
|
DependencyIndexes: file_BaseTeacherLog_proto_depIdxs,
|
|
|
MessageInfos: file_BaseTeacherLog_proto_msgTypes,
|
|
|
}.Build()
|
|
|
File_BaseTeacherLog_proto = out.File
|
|
|
file_BaseTeacherLog_proto_rawDesc = nil
|
|
|
file_BaseTeacherLog_proto_goTypes = nil
|
|
|
file_BaseTeacherLog_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
|
|
|
|
|
|
// BaseTeacherLogManageClient is the client API for BaseTeacherLogManage service.
|
|
|
//
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
type BaseTeacherLogManageClient interface {
|
|
|
//获取单条
|
|
|
GetBaseTeacherLog(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//增加
|
|
|
AddBaseTeacherLog(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//批量删除
|
|
|
DeleteBaseTeacherLog(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//修改
|
|
|
UpdateBaseTeacherLog(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//查询(分页)
|
|
|
PageBaseTeacherLog(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
}
|
|
|
|
|
|
type baseTeacherLogManageClient struct {
|
|
|
cc grpc.ClientConnInterface
|
|
|
}
|
|
|
|
|
|
func NewBaseTeacherLogManageClient(cc grpc.ClientConnInterface) BaseTeacherLogManageClient {
|
|
|
return &baseTeacherLogManageClient{cc}
|
|
|
}
|
|
|
|
|
|
func (c *baseTeacherLogManageClient) GetBaseTeacherLog(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseTeacherLogProto.BaseTeacherLogManage/GetBaseTeacherLog", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseTeacherLogManageClient) AddBaseTeacherLog(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseTeacherLogProto.BaseTeacherLogManage/AddBaseTeacherLog", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseTeacherLogManageClient) DeleteBaseTeacherLog(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseTeacherLogProto.BaseTeacherLogManage/DeleteBaseTeacherLog", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseTeacherLogManageClient) UpdateBaseTeacherLog(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseTeacherLogProto.BaseTeacherLogManage/UpdateBaseTeacherLog", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseTeacherLogManageClient) PageBaseTeacherLog(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseTeacherLogProto.BaseTeacherLogManage/PageBaseTeacherLog", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
// BaseTeacherLogManageServer is the server API for BaseTeacherLogManage service.
|
|
|
type BaseTeacherLogManageServer interface {
|
|
|
//获取单条
|
|
|
GetBaseTeacherLog(context.Context, *ModelArg) (*Reply, error)
|
|
|
//增加
|
|
|
AddBaseTeacherLog(context.Context, *ModelArg) (*Reply, error)
|
|
|
//批量删除
|
|
|
DeleteBaseTeacherLog(context.Context, *DeleteIdsArg) (*Reply, error)
|
|
|
//修改
|
|
|
UpdateBaseTeacherLog(context.Context, *ModelArg) (*Reply, error)
|
|
|
//查询(分页)
|
|
|
PageBaseTeacherLog(context.Context, *QueryArg) (*Reply, error)
|
|
|
}
|
|
|
|
|
|
// UnimplementedBaseTeacherLogManageServer can be embedded to have forward compatible implementations.
|
|
|
type UnimplementedBaseTeacherLogManageServer struct {
|
|
|
}
|
|
|
|
|
|
func (*UnimplementedBaseTeacherLogManageServer) GetBaseTeacherLog(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetBaseTeacherLog not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseTeacherLogManageServer) AddBaseTeacherLog(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddBaseTeacherLog not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseTeacherLogManageServer) DeleteBaseTeacherLog(context.Context, *DeleteIdsArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteBaseTeacherLog not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseTeacherLogManageServer) UpdateBaseTeacherLog(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateBaseTeacherLog not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseTeacherLogManageServer) PageBaseTeacherLog(context.Context, *QueryArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method PageBaseTeacherLog not implemented")
|
|
|
}
|
|
|
|
|
|
func RegisterBaseTeacherLogManageServer(s *grpc.Server, srv BaseTeacherLogManageServer) {
|
|
|
s.RegisterService(&_BaseTeacherLogManage_serviceDesc, srv)
|
|
|
}
|
|
|
|
|
|
func _BaseTeacherLogManage_GetBaseTeacherLog_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.(BaseTeacherLogManageServer).GetBaseTeacherLog(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseTeacherLogProto.BaseTeacherLogManage/GetBaseTeacherLog",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseTeacherLogManageServer).GetBaseTeacherLog(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseTeacherLogManage_AddBaseTeacherLog_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.(BaseTeacherLogManageServer).AddBaseTeacherLog(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseTeacherLogProto.BaseTeacherLogManage/AddBaseTeacherLog",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseTeacherLogManageServer).AddBaseTeacherLog(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseTeacherLogManage_DeleteBaseTeacherLog_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.(BaseTeacherLogManageServer).DeleteBaseTeacherLog(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseTeacherLogProto.BaseTeacherLogManage/DeleteBaseTeacherLog",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseTeacherLogManageServer).DeleteBaseTeacherLog(ctx, req.(*DeleteIdsArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseTeacherLogManage_UpdateBaseTeacherLog_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.(BaseTeacherLogManageServer).UpdateBaseTeacherLog(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseTeacherLogProto.BaseTeacherLogManage/UpdateBaseTeacherLog",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseTeacherLogManageServer).UpdateBaseTeacherLog(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseTeacherLogManage_PageBaseTeacherLog_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.(BaseTeacherLogManageServer).PageBaseTeacherLog(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseTeacherLogProto.BaseTeacherLogManage/PageBaseTeacherLog",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseTeacherLogManageServer).PageBaseTeacherLog(ctx, req.(*QueryArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
var _BaseTeacherLogManage_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "BaseTeacherLogProto.BaseTeacherLogManage",
|
|
|
HandlerType: (*BaseTeacherLogManageServer)(nil),
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
{
|
|
|
MethodName: "GetBaseTeacherLog",
|
|
|
Handler: _BaseTeacherLogManage_GetBaseTeacherLog_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "AddBaseTeacherLog",
|
|
|
Handler: _BaseTeacherLogManage_AddBaseTeacherLog_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "DeleteBaseTeacherLog",
|
|
|
Handler: _BaseTeacherLogManage_DeleteBaseTeacherLog_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "UpdateBaseTeacherLog",
|
|
|
Handler: _BaseTeacherLogManage_UpdateBaseTeacherLog_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "PageBaseTeacherLog",
|
|
|
Handler: _BaseTeacherLogManage_PageBaseTeacherLog_Handler,
|
|
|
},
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "BaseTeacherLog.proto",
|
|
|
}
|