Documentation
¶
Index ¶
- Variables
- func NewItemEndpoints() []*api.Endpoint
- func RegisterItemHandler(s server.Server, hdlr ItemHandler, opts ...server.HandlerOption) error
- type ItemByIdsRequest
- type ItemEmpty
- type ItemHandler
- type ItemIDRequest
- type ItemIntList
- type ItemJsonResult
- func (*ItemJsonResult) Descriptor() ([]byte, []int)deprecated
- func (x *ItemJsonResult) GetCode() int32
- func (x *ItemJsonResult) GetData() string
- func (x *ItemJsonResult) GetMsg() string
- func (*ItemJsonResult) ProtoMessage()
- func (x *ItemJsonResult) ProtoReflect() protoreflect.Message
- func (x *ItemJsonResult) Reset()
- func (x *ItemJsonResult) String() string
- type ItemJsonResultData
- func (*ItemJsonResultData) Descriptor() ([]byte, []int)deprecated
- func (x *ItemJsonResultData) GetCode() int32
- func (x *ItemJsonResultData) GetData() *ItemMessage
- func (x *ItemJsonResultData) GetMsg() string
- func (*ItemJsonResultData) ProtoMessage()
- func (x *ItemJsonResultData) ProtoReflect() protoreflect.Message
- func (x *ItemJsonResultData) Reset()
- func (x *ItemJsonResultData) String() string
- type ItemMessage
- func (*ItemMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ItemMessage) GetCeatedBy() string
- func (x *ItemMessage) GetComment() string
- func (x *ItemMessage) GetCreatedAt() int64
- func (x *ItemMessage) GetDateRanges() map[string]*ItemIntList
- func (x *ItemMessage) GetDeletedAt() int64
- func (x *ItemMessage) GetId() int32
- func (x *ItemMessage) GetInRanges() map[string]string
- func (x *ItemMessage) GetIntRanges() map[string]*ItemIntList
- func (x *ItemMessage) GetIsDeleted() int32
- func (x *ItemMessage) GetItemKey() string
- func (x *ItemMessage) GetLineNum() int32
- func (x *ItemMessage) GetNamespaceId() int32
- func (x *ItemMessage) GetStringRanges() map[string]*ItemStringList
- func (x *ItemMessage) GetType() int32
- func (x *ItemMessage) GetUpdatedAt() int64
- func (x *ItemMessage) GetUpdatedBy() string
- func (x *ItemMessage) GetValue() string
- func (*ItemMessage) ProtoMessage()
- func (x *ItemMessage) ProtoReflect() protoreflect.Message
- func (x *ItemMessage) Reset()
- func (x *ItemMessage) String() string
- type ItemMessageData
- type ItemPageParam
- func (*ItemPageParam) Descriptor() ([]byte, []int)deprecated
- func (x *ItemPageParam) GetCount() int32
- func (x *ItemPageParam) GetCurrent() int32
- func (x *ItemPageParam) GetPageSize() int32
- func (x *ItemPageParam) GetTotal() int32
- func (*ItemPageParam) ProtoMessage()
- func (x *ItemPageParam) ProtoReflect() protoreflect.Message
- func (x *ItemPageParam) Reset()
- func (x *ItemPageParam) String() string
- type ItemPageResult
- func (*ItemPageResult) Descriptor() ([]byte, []int)deprecated
- func (x *ItemPageResult) GetCode() int32
- func (x *ItemPageResult) GetData() []*ItemMessage
- func (x *ItemPageResult) GetMsg() string
- func (x *ItemPageResult) GetPage() *ItemPageParam
- func (*ItemPageResult) ProtoMessage()
- func (x *ItemPageResult) ProtoReflect() protoreflect.Message
- func (x *ItemPageResult) Reset()
- func (x *ItemPageResult) String() string
- type ItemQueryParam
- func (*ItemQueryParam) Descriptor() ([]byte, []int)deprecated
- func (x *ItemQueryParam) GetCurrent() int32
- func (x *ItemQueryParam) GetEsQuery() string
- func (x *ItemQueryParam) GetFuzzyQuery() string
- func (x *ItemQueryParam) GetOrderBys() string
- func (x *ItemQueryParam) GetPageSize() int32
- func (x *ItemQueryParam) GetParam() *ItemMessage
- func (*ItemQueryParam) ProtoMessage()
- func (x *ItemQueryParam) ProtoReflect() protoreflect.Message
- func (x *ItemQueryParam) Reset()
- func (x *ItemQueryParam) String() string
- type ItemQueryParamMessage
- func (*ItemQueryParamMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ItemQueryParamMessage) GetCurrent() int32
- func (x *ItemQueryParamMessage) GetEsQuery() string
- func (x *ItemQueryParamMessage) GetFuzzyQuery() string
- func (x *ItemQueryParamMessage) GetOrderBys() string
- func (x *ItemQueryParamMessage) GetPageSize() int32
- func (x *ItemQueryParamMessage) GetParam() string
- func (*ItemQueryParamMessage) ProtoMessage()
- func (x *ItemQueryParamMessage) ProtoReflect() protoreflect.Message
- func (x *ItemQueryParamMessage) Reset()
- func (x *ItemQueryParamMessage) String() string
- type ItemService
- type ItemStringList
Constants ¶
This section is empty.
Variables ¶
var File_proto_item_proto_proto protoreflect.FileDescriptor
Functions ¶
func NewItemEndpoints ¶
func RegisterItemHandler ¶
func RegisterItemHandler(s server.Server, hdlr ItemHandler, opts ...server.HandlerOption) error
Types ¶
type ItemByIdsRequest ¶
type ItemByIdsRequest struct { Ids string `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ItemByIdsRequest) Descriptor
deprecated
func (*ItemByIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemByIdsRequest.ProtoReflect.Descriptor instead.
func (*ItemByIdsRequest) GetIds ¶
func (x *ItemByIdsRequest) GetIds() string
func (*ItemByIdsRequest) ProtoMessage ¶
func (*ItemByIdsRequest) ProtoMessage()
func (*ItemByIdsRequest) ProtoReflect ¶
func (x *ItemByIdsRequest) ProtoReflect() protoreflect.Message
func (*ItemByIdsRequest) Reset ¶
func (x *ItemByIdsRequest) Reset()
func (*ItemByIdsRequest) String ¶
func (x *ItemByIdsRequest) String() string
type ItemEmpty ¶
type ItemEmpty struct {
// contains filtered or unexported fields
}
func (*ItemEmpty) Descriptor
deprecated
func (*ItemEmpty) ProtoMessage ¶
func (*ItemEmpty) ProtoMessage()
func (*ItemEmpty) ProtoReflect ¶
func (x *ItemEmpty) ProtoReflect() protoreflect.Message
type ItemHandler ¶
type ItemHandler interface { Init(context.Context, *ItemEmpty, *ItemEmpty) error // 根据 Id 获取 FindById(context.Context, *ItemIDRequest, *ItemJsonResultData) error // 根据主键删除 DeleteById(context.Context, *ItemIDRequest, *ItemJsonResult) error // //主键Id为nil or 0新增,!= nil 修改 Save(context.Context, *ItemMessage, *ItemJsonResult) error // //更新非空字段,参数可能要变成一个string包装json UpdateNotNullProps(context.Context, *ItemMessageData, *ItemJsonResult) error // 通用查询 Query(context.Context, *ItemQueryParam, *ItemPageResult) error QueryBy(context.Context, *ItemQueryParamMessage, *ItemPageResult) error // //根据主键id 查询多条记录 //FindByIds("1,36,39") FindByIds(context.Context, *ItemByIdsRequest, *ItemPageResult) error }
type ItemIDRequest ¶
type ItemIDRequest struct { Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // contains filtered or unexported fields }
func (*ItemIDRequest) Descriptor
deprecated
func (*ItemIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemIDRequest.ProtoReflect.Descriptor instead.
func (*ItemIDRequest) GetId ¶
func (x *ItemIDRequest) GetId() int32
func (*ItemIDRequest) ProtoMessage ¶
func (*ItemIDRequest) ProtoMessage()
func (*ItemIDRequest) ProtoReflect ¶
func (x *ItemIDRequest) ProtoReflect() protoreflect.Message
func (*ItemIDRequest) Reset ¶
func (x *ItemIDRequest) Reset()
func (*ItemIDRequest) String ¶
func (x *ItemIDRequest) String() string
type ItemIntList ¶
type ItemIntList struct { Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ItemIntList) Descriptor
deprecated
func (*ItemIntList) Descriptor() ([]byte, []int)
Deprecated: Use ItemIntList.ProtoReflect.Descriptor instead.
func (*ItemIntList) GetValue ¶
func (x *ItemIntList) GetValue() []int64
func (*ItemIntList) ProtoMessage ¶
func (*ItemIntList) ProtoMessage()
func (*ItemIntList) ProtoReflect ¶
func (x *ItemIntList) ProtoReflect() protoreflect.Message
func (*ItemIntList) Reset ¶
func (x *ItemIntList) Reset()
func (*ItemIntList) String ¶
func (x *ItemIntList) String() string
type ItemJsonResult ¶
type ItemJsonResult struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ItemJsonResult) Descriptor
deprecated
func (*ItemJsonResult) Descriptor() ([]byte, []int)
Deprecated: Use ItemJsonResult.ProtoReflect.Descriptor instead.
func (*ItemJsonResult) GetCode ¶
func (x *ItemJsonResult) GetCode() int32
func (*ItemJsonResult) GetData ¶
func (x *ItemJsonResult) GetData() string
func (*ItemJsonResult) GetMsg ¶
func (x *ItemJsonResult) GetMsg() string
func (*ItemJsonResult) ProtoMessage ¶
func (*ItemJsonResult) ProtoMessage()
func (*ItemJsonResult) ProtoReflect ¶
func (x *ItemJsonResult) ProtoReflect() protoreflect.Message
func (*ItemJsonResult) Reset ¶
func (x *ItemJsonResult) Reset()
func (*ItemJsonResult) String ¶
func (x *ItemJsonResult) String() string
type ItemJsonResultData ¶
type ItemJsonResultData struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *ItemMessage `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ItemJsonResultData) Descriptor
deprecated
func (*ItemJsonResultData) Descriptor() ([]byte, []int)
Deprecated: Use ItemJsonResultData.ProtoReflect.Descriptor instead.
func (*ItemJsonResultData) GetCode ¶
func (x *ItemJsonResultData) GetCode() int32
func (*ItemJsonResultData) GetData ¶
func (x *ItemJsonResultData) GetData() *ItemMessage
func (*ItemJsonResultData) GetMsg ¶
func (x *ItemJsonResultData) GetMsg() string
func (*ItemJsonResultData) ProtoMessage ¶
func (*ItemJsonResultData) ProtoMessage()
func (*ItemJsonResultData) ProtoReflect ¶
func (x *ItemJsonResultData) ProtoReflect() protoreflect.Message
func (*ItemJsonResultData) Reset ¶
func (x *ItemJsonResultData) Reset()
func (*ItemJsonResultData) String ¶
func (x *ItemJsonResultData) String() string
type ItemMessage ¶
type ItemMessage struct { DateRanges map[string]*ItemIntList `` /* 161-byte string literal not displayed */ IntRanges map[string]*ItemIntList `` /* 159-byte string literal not displayed */ StringRanges map[string]*ItemStringList `` /* 165-byte string literal not displayed */ InRanges map[string]string `` /* 157-byte string literal not displayed */ Id int32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` NamespaceId int32 `protobuf:"varint,6,opt,name=namespaceId,proto3" json:"namespaceId,omitempty"` ItemKey string `protobuf:"bytes,7,opt,name=itemKey,proto3" json:"itemKey,omitempty"` Type int32 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"` Comment string `protobuf:"bytes,10,opt,name=comment,proto3" json:"comment,omitempty"` LineNum int32 `protobuf:"varint,11,opt,name=lineNum,proto3" json:"lineNum,omitempty"` IsDeleted int32 `protobuf:"varint,12,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"` DeletedAt int64 `protobuf:"varint,13,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` CeatedBy string `protobuf:"bytes,14,opt,name=ceatedBy,proto3" json:"ceatedBy,omitempty"` CreatedAt int64 `protobuf:"varint,15,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedBy string `protobuf:"bytes,16,opt,name=updatedBy,proto3" json:"updatedBy,omitempty"` UpdatedAt int64 `protobuf:"varint,17,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ItemMessage) Descriptor
deprecated
func (*ItemMessage) Descriptor() ([]byte, []int)
Deprecated: Use ItemMessage.ProtoReflect.Descriptor instead.
func (*ItemMessage) GetCeatedBy ¶
func (x *ItemMessage) GetCeatedBy() string
func (*ItemMessage) GetComment ¶
func (x *ItemMessage) GetComment() string
func (*ItemMessage) GetCreatedAt ¶
func (x *ItemMessage) GetCreatedAt() int64
func (*ItemMessage) GetDateRanges ¶
func (x *ItemMessage) GetDateRanges() map[string]*ItemIntList
func (*ItemMessage) GetDeletedAt ¶
func (x *ItemMessage) GetDeletedAt() int64
func (*ItemMessage) GetId ¶
func (x *ItemMessage) GetId() int32
func (*ItemMessage) GetInRanges ¶
func (x *ItemMessage) GetInRanges() map[string]string
func (*ItemMessage) GetIntRanges ¶
func (x *ItemMessage) GetIntRanges() map[string]*ItemIntList
func (*ItemMessage) GetIsDeleted ¶
func (x *ItemMessage) GetIsDeleted() int32
func (*ItemMessage) GetItemKey ¶
func (x *ItemMessage) GetItemKey() string
func (*ItemMessage) GetLineNum ¶
func (x *ItemMessage) GetLineNum() int32
func (*ItemMessage) GetNamespaceId ¶
func (x *ItemMessage) GetNamespaceId() int32
func (*ItemMessage) GetStringRanges ¶
func (x *ItemMessage) GetStringRanges() map[string]*ItemStringList
func (*ItemMessage) GetType ¶
func (x *ItemMessage) GetType() int32
func (*ItemMessage) GetUpdatedAt ¶
func (x *ItemMessage) GetUpdatedAt() int64
func (*ItemMessage) GetUpdatedBy ¶
func (x *ItemMessage) GetUpdatedBy() string
func (*ItemMessage) GetValue ¶
func (x *ItemMessage) GetValue() string
func (*ItemMessage) ProtoMessage ¶
func (*ItemMessage) ProtoMessage()
func (*ItemMessage) ProtoReflect ¶
func (x *ItemMessage) ProtoReflect() protoreflect.Message
func (*ItemMessage) Reset ¶
func (x *ItemMessage) Reset()
func (*ItemMessage) String ¶
func (x *ItemMessage) String() string
type ItemMessageData ¶
type ItemMessageData struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ItemMessageData) Descriptor
deprecated
func (*ItemMessageData) Descriptor() ([]byte, []int)
Deprecated: Use ItemMessageData.ProtoReflect.Descriptor instead.
func (*ItemMessageData) GetData ¶
func (x *ItemMessageData) GetData() string
func (*ItemMessageData) ProtoMessage ¶
func (*ItemMessageData) ProtoMessage()
func (*ItemMessageData) ProtoReflect ¶
func (x *ItemMessageData) ProtoReflect() protoreflect.Message
func (*ItemMessageData) Reset ¶
func (x *ItemMessageData) Reset()
func (*ItemMessageData) String ¶
func (x *ItemMessageData) String() string
type ItemPageParam ¶
type ItemPageParam struct { Current int32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ItemPageParam) Descriptor
deprecated
func (*ItemPageParam) Descriptor() ([]byte, []int)
Deprecated: Use ItemPageParam.ProtoReflect.Descriptor instead.
func (*ItemPageParam) GetCount ¶
func (x *ItemPageParam) GetCount() int32
func (*ItemPageParam) GetCurrent ¶
func (x *ItemPageParam) GetCurrent() int32
func (*ItemPageParam) GetPageSize ¶
func (x *ItemPageParam) GetPageSize() int32
func (*ItemPageParam) GetTotal ¶
func (x *ItemPageParam) GetTotal() int32
func (*ItemPageParam) ProtoMessage ¶
func (*ItemPageParam) ProtoMessage()
func (*ItemPageParam) ProtoReflect ¶
func (x *ItemPageParam) ProtoReflect() protoreflect.Message
func (*ItemPageParam) Reset ¶
func (x *ItemPageParam) Reset()
func (*ItemPageParam) String ¶
func (x *ItemPageParam) String() string
type ItemPageResult ¶
type ItemPageResult struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Page *ItemPageParam `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` Data []*ItemMessage `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ItemPageResult) Descriptor
deprecated
func (*ItemPageResult) Descriptor() ([]byte, []int)
Deprecated: Use ItemPageResult.ProtoReflect.Descriptor instead.
func (*ItemPageResult) GetCode ¶
func (x *ItemPageResult) GetCode() int32
func (*ItemPageResult) GetData ¶
func (x *ItemPageResult) GetData() []*ItemMessage
func (*ItemPageResult) GetMsg ¶
func (x *ItemPageResult) GetMsg() string
func (*ItemPageResult) GetPage ¶
func (x *ItemPageResult) GetPage() *ItemPageParam
func (*ItemPageResult) ProtoMessage ¶
func (*ItemPageResult) ProtoMessage()
func (*ItemPageResult) ProtoReflect ¶
func (x *ItemPageResult) ProtoReflect() protoreflect.Message
func (*ItemPageResult) Reset ¶
func (x *ItemPageResult) Reset()
func (*ItemPageResult) String ¶
func (x *ItemPageResult) String() string
type ItemQueryParam ¶
type ItemQueryParam struct { Current int32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` OrderBys string `protobuf:"bytes,3,opt,name=orderBys,proto3" json:"orderBys,omitempty"` FuzzyQuery string `protobuf:"bytes,4,opt,name=fuzzyQuery,proto3" json:"fuzzyQuery,omitempty"` EsQuery string `protobuf:"bytes,5,opt,name=esQuery,proto3" json:"esQuery,omitempty"` Param *ItemMessage `protobuf:"bytes,6,opt,name=param,proto3" json:"param,omitempty"` // contains filtered or unexported fields }
func (*ItemQueryParam) Descriptor
deprecated
func (*ItemQueryParam) Descriptor() ([]byte, []int)
Deprecated: Use ItemQueryParam.ProtoReflect.Descriptor instead.
func (*ItemQueryParam) GetCurrent ¶
func (x *ItemQueryParam) GetCurrent() int32
func (*ItemQueryParam) GetEsQuery ¶
func (x *ItemQueryParam) GetEsQuery() string
func (*ItemQueryParam) GetFuzzyQuery ¶
func (x *ItemQueryParam) GetFuzzyQuery() string
func (*ItemQueryParam) GetOrderBys ¶
func (x *ItemQueryParam) GetOrderBys() string
func (*ItemQueryParam) GetPageSize ¶
func (x *ItemQueryParam) GetPageSize() int32
func (*ItemQueryParam) GetParam ¶
func (x *ItemQueryParam) GetParam() *ItemMessage
func (*ItemQueryParam) ProtoMessage ¶
func (*ItemQueryParam) ProtoMessage()
func (*ItemQueryParam) ProtoReflect ¶
func (x *ItemQueryParam) ProtoReflect() protoreflect.Message
func (*ItemQueryParam) Reset ¶
func (x *ItemQueryParam) Reset()
func (*ItemQueryParam) String ¶
func (x *ItemQueryParam) String() string
type ItemQueryParamMessage ¶
type ItemQueryParamMessage struct { Current int32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` OrderBys string `protobuf:"bytes,3,opt,name=orderBys,proto3" json:"orderBys,omitempty"` FuzzyQuery string `protobuf:"bytes,4,opt,name=fuzzyQuery,proto3" json:"fuzzyQuery,omitempty"` EsQuery string `protobuf:"bytes,5,opt,name=esQuery,proto3" json:"esQuery,omitempty"` // json串 Param string `protobuf:"bytes,6,opt,name=param,proto3" json:"param,omitempty"` // contains filtered or unexported fields }
func (*ItemQueryParamMessage) Descriptor
deprecated
func (*ItemQueryParamMessage) Descriptor() ([]byte, []int)
Deprecated: Use ItemQueryParamMessage.ProtoReflect.Descriptor instead.
func (*ItemQueryParamMessage) GetCurrent ¶
func (x *ItemQueryParamMessage) GetCurrent() int32
func (*ItemQueryParamMessage) GetEsQuery ¶
func (x *ItemQueryParamMessage) GetEsQuery() string
func (*ItemQueryParamMessage) GetFuzzyQuery ¶
func (x *ItemQueryParamMessage) GetFuzzyQuery() string
func (*ItemQueryParamMessage) GetOrderBys ¶
func (x *ItemQueryParamMessage) GetOrderBys() string
func (*ItemQueryParamMessage) GetPageSize ¶
func (x *ItemQueryParamMessage) GetPageSize() int32
func (*ItemQueryParamMessage) GetParam ¶
func (x *ItemQueryParamMessage) GetParam() string
func (*ItemQueryParamMessage) ProtoMessage ¶
func (*ItemQueryParamMessage) ProtoMessage()
func (*ItemQueryParamMessage) ProtoReflect ¶
func (x *ItemQueryParamMessage) ProtoReflect() protoreflect.Message
func (*ItemQueryParamMessage) Reset ¶
func (x *ItemQueryParamMessage) Reset()
func (*ItemQueryParamMessage) String ¶
func (x *ItemQueryParamMessage) String() string
type ItemService ¶
type ItemService interface { Init(ctx context.Context, in *ItemEmpty, opts ...client.CallOption) (*ItemEmpty, error) // 根据 Id 获取 FindById(ctx context.Context, in *ItemIDRequest, opts ...client.CallOption) (*ItemJsonResultData, error) // 根据主键删除 DeleteById(ctx context.Context, in *ItemIDRequest, opts ...client.CallOption) (*ItemJsonResult, error) // //主键Id为nil or 0新增,!= nil 修改 Save(ctx context.Context, in *ItemMessage, opts ...client.CallOption) (*ItemJsonResult, error) // //更新非空字段,参数可能要变成一个string包装json UpdateNotNullProps(ctx context.Context, in *ItemMessageData, opts ...client.CallOption) (*ItemJsonResult, error) // 通用查询 Query(ctx context.Context, in *ItemQueryParam, opts ...client.CallOption) (*ItemPageResult, error) QueryBy(ctx context.Context, in *ItemQueryParamMessage, opts ...client.CallOption) (*ItemPageResult, error) // //根据主键id 查询多条记录 //FindByIds("1,36,39") FindByIds(ctx context.Context, in *ItemByIdsRequest, opts ...client.CallOption) (*ItemPageResult, error) }
func NewItemService ¶
func NewItemService(name string, c client.Client) ItemService
type ItemStringList ¶
type ItemStringList struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ItemStringList) Descriptor
deprecated
func (*ItemStringList) Descriptor() ([]byte, []int)
Deprecated: Use ItemStringList.ProtoReflect.Descriptor instead.
func (*ItemStringList) GetValue ¶
func (x *ItemStringList) GetValue() []string
func (*ItemStringList) ProtoMessage ¶
func (*ItemStringList) ProtoMessage()
func (*ItemStringList) ProtoReflect ¶
func (x *ItemStringList) ProtoReflect() protoreflect.Message
func (*ItemStringList) Reset ¶
func (x *ItemStringList) Reset()
func (*ItemStringList) String ¶
func (x *ItemStringList) String() string