projectmanagelogic

package
v0.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectDelete

func ProjectDelete(ctx context.Context, tx *gorm.DB, id int64) error

Types

type ProjectInfoCreateLogic

type ProjectInfoCreateLogic struct {
	logx.Logger
	PiDB *relationDB.ProjectInfoRepo
	// contains filtered or unexported fields
}

func NewProjectInfoCreateLogic

func NewProjectInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoCreateLogic

func (*ProjectInfoCreateLogic) ProjectInfoCreate

func (l *ProjectInfoCreateLogic) ProjectInfoCreate(in *sys.ProjectInfo) (*sys.ProjectWithID, error)

新增项目

type ProjectInfoDeleteLogic

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

func NewProjectInfoDeleteLogic

func NewProjectInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoDeleteLogic

func (*ProjectInfoDeleteLogic) ProjectInfoDelete

func (l *ProjectInfoDeleteLogic) ProjectInfoDelete(in *sys.ProjectWithID) (*sys.Empty, error)

删除项目

type ProjectInfoIndexLogic

type ProjectInfoIndexLogic struct {
	logx.Logger
	PiDB *relationDB.ProjectInfoRepo
	// contains filtered or unexported fields
}

func NewProjectInfoIndexLogic

func NewProjectInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoIndexLogic

func (*ProjectInfoIndexLogic) ProjectInfoIndex

获取项目信息列表

type ProjectInfoReadLogic

type ProjectInfoReadLogic struct {
	logx.Logger
	PiDB *relationDB.ProjectInfoRepo
	// contains filtered or unexported fields
}

func NewProjectInfoReadLogic

func NewProjectInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoReadLogic

func (*ProjectInfoReadLogic) ProjectInfoRead

func (l *ProjectInfoReadLogic) ProjectInfoRead(in *sys.ProjectWithID) (*sys.ProjectInfo, error)

获取项目信息详情

type ProjectInfoUpdateLogic

type ProjectInfoUpdateLogic struct {
	logx.Logger
	PiDB *relationDB.ProjectInfoRepo
	// contains filtered or unexported fields
}

func NewProjectInfoUpdateLogic

func NewProjectInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoUpdateLogic

func (*ProjectInfoUpdateLogic) ProjectInfoUpdate

func (l *ProjectInfoUpdateLogic) ProjectInfoUpdate(in *sys.ProjectInfo) (*sys.Empty, error)

更新项目

type ProjectProfileIndexLogic

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

func NewProjectProfileIndexLogic

func NewProjectProfileIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectProfileIndexLogic

func (*ProjectProfileIndexLogic) ProjectProfileIndex

type ProjectProfileReadLogic

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

func NewProjectProfileReadLogic

func NewProjectProfileReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectProfileReadLogic

func (*ProjectProfileReadLogic) ProjectProfileRead

type ProjectProfileUpdateLogic

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

func NewProjectProfileUpdateLogic

func NewProjectProfileUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectProfileUpdateLogic

func (*ProjectProfileUpdateLogic) ProjectProfileUpdate

func (l *ProjectProfileUpdateLogic) ProjectProfileUpdate(in *sys.ProjectProfile) (*sys.Empty, error)

Jump to

Keyboard shortcuts

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