schemamanagelogic

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAffordance

func CheckAffordance(po *relationDB.DmSchemaCore) error

func ToCommonSchemaPo

func ToCommonSchemaPo(info *dm.CommonSchemaInfo) *relationDB.DmCommonSchema

func ToCommonSchemaRpc

func ToCommonSchemaRpc(info *relationDB.DmCommonSchema) *dm.CommonSchemaInfo

Types

type CommonSchemaCreateLogic

type CommonSchemaCreateLogic struct {
	logx.Logger
	PsDB *relationDB.CommonSchemaRepo
	// contains filtered or unexported fields
}

func NewCommonSchemaCreateLogic

func NewCommonSchemaCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaCreateLogic

func (*CommonSchemaCreateLogic) CommonSchemaCreate

func (l *CommonSchemaCreateLogic) CommonSchemaCreate(in *dm.CommonSchemaCreateReq) (*dm.Empty, error)

新增产品

type CommonSchemaDeleteLogic

type CommonSchemaDeleteLogic struct {
	logx.Logger
	PsDB *relationDB.CommonSchemaRepo
	// contains filtered or unexported fields
}

func NewCommonSchemaDeleteLogic

func NewCommonSchemaDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaDeleteLogic

func (*CommonSchemaDeleteLogic) CommonSchemaDelete

func (l *CommonSchemaDeleteLogic) CommonSchemaDelete(in *dm.WithID) (*dm.Empty, error)

删除产品

type CommonSchemaIndexLogic

type CommonSchemaIndexLogic struct {
	logx.Logger
	PsDB *relationDB.CommonSchemaRepo
	// contains filtered or unexported fields
}

func NewCommonSchemaIndexLogic

func NewCommonSchemaIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaIndexLogic

func (*CommonSchemaIndexLogic) CommonSchemaIndex

获取产品信息列表

type CommonSchemaInitLogic

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

func NewCommonSchemaInitLogic

func NewCommonSchemaInitLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaInitLogic

func (*CommonSchemaInitLogic) CommonSchemaInit

func (l *CommonSchemaInitLogic) CommonSchemaInit(in *dm.Empty) (*dm.Empty, error)

type CommonSchemaUpdateLogic

type CommonSchemaUpdateLogic struct {
	logx.Logger
	PsDB *relationDB.CommonSchemaRepo
	// contains filtered or unexported fields
}

func NewCommonSchemaUpdateLogic

func NewCommonSchemaUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaUpdateLogic

func (*CommonSchemaUpdateLogic) CommonSchemaUpdate

func (l *CommonSchemaUpdateLogic) CommonSchemaUpdate(in *dm.CommonSchemaUpdateReq) (*dm.Empty, error)

更新产品物模型

Jump to

Keyboard shortcuts

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