areamanagelogic

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreaInfosToPb

func AreaInfosToPb(ctx context.Context, svcCtx *svc.ServiceContext, pos []*relationDB.SysAreaInfo) (ret []*sys.AreaInfo)

func FillProjectAreaCount

func FillProjectAreaCount(ctx context.Context, svcCtx *svc.ServiceContext, projectID int64)

func TransPoToPb added in v1.0.1

func TransPoToPb(ctx context.Context, po *relationDB.SysAreaInfo, svcCtx *svc.ServiceContext) *sys.AreaInfo

Types

type AreaInfoCreateLogic

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

func NewAreaInfoCreateLogic

func NewAreaInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoCreateLogic

func (*AreaInfoCreateLogic) AreaInfoCreate

func (l *AreaInfoCreateLogic) AreaInfoCreate(in *sys.AreaInfo) (*sys.AreaWithID, error)

新增区域

type AreaInfoDeleteLogic

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

func NewAreaInfoDeleteLogic

func NewAreaInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoDeleteLogic

func (*AreaInfoDeleteLogic) AreaInfoDelete

func (l *AreaInfoDeleteLogic) AreaInfoDelete(in *sys.AreaWithID) (*sys.Empty, error)

删除区域

type AreaInfoIndexLogic

type AreaInfoIndexLogic struct {
	logx.Logger
	AiDB *relationDB.AreaInfoRepo
	// contains filtered or unexported fields
}

func NewAreaInfoIndexLogic

func NewAreaInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoIndexLogic

func (*AreaInfoIndexLogic) AreaInfoIndex

获取区域信息列表

type AreaInfoReadLogic

type AreaInfoReadLogic struct {
	logx.Logger
	AiDB *relationDB.AreaInfoRepo
	// contains filtered or unexported fields
}

func NewAreaInfoReadLogic

func NewAreaInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoReadLogic

func (*AreaInfoReadLogic) AreaInfoRead

func (l *AreaInfoReadLogic) AreaInfoRead(in *sys.AreaInfoReadReq) (*sys.AreaInfo, error)

获取区域信息详情

type AreaInfoUpdateLogic

type AreaInfoUpdateLogic struct {
	logx.Logger
	AiDB *relationDB.AreaInfoRepo
	// contains filtered or unexported fields
}

func NewAreaInfoUpdateLogic

func NewAreaInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoUpdateLogic

func (*AreaInfoUpdateLogic) AreaInfoUpdate

func (l *AreaInfoUpdateLogic) AreaInfoUpdate(in *sys.AreaInfo) (*sys.Empty, error)

更新区域

type AreaProfileIndexLogic

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

func NewAreaProfileIndexLogic

func NewAreaProfileIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaProfileIndexLogic

func (*AreaProfileIndexLogic) AreaProfileIndex

type AreaProfileReadLogic

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

func NewAreaProfileReadLogic

func NewAreaProfileReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaProfileReadLogic

func (*AreaProfileReadLogic) AreaProfileRead

func (l *AreaProfileReadLogic) AreaProfileRead(in *sys.AreaProfileReadReq) (*sys.AreaProfile, error)

type AreaProfileUpdateLogic

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

func NewAreaProfileUpdateLogic

func NewAreaProfileUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaProfileUpdateLogic

func (*AreaProfileUpdateLogic) AreaProfileUpdate

func (l *AreaProfileUpdateLogic) AreaProfileUpdate(in *sys.AreaProfile) (*sys.Empty, error)

Jump to

Keyboard shortcuts

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