schema

package
v1.2.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateLogic

type CreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateLogic

func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic

创建产品物模型

func (*CreateLogic) Create

func (l *CreateLogic) Create(req *types.DeviceSchema) error

type IndexLogic

type IndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewIndexLogic

func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic

获取产品物模型

func (*IndexLogic) Index

type MultiCreateLogic

type MultiCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewMultiCreateLogic

func NewMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiCreateLogic

批量创建产品物模型

func (*MultiCreateLogic) MultiCreate

type MultiDeleteLogic

type MultiDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewMultiDeleteLogic

func NewMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiDeleteLogic

批量创建产品物模型

func (*MultiDeleteLogic) MultiDelete

type TslReadLogic

type TslReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewTslReadLogic

func NewTslReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TslReadLogic

获取产品物模型tsl

func (*TslReadLogic) TslRead

type UpdateLogic

type UpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateLogic

func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic

更新产品物模型

func (*UpdateLogic) Update

func (l *UpdateLogic) Update(req *types.DeviceSchema) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL