department

package
v0.2.4-beta Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDepartmentLogic added in v0.2.4

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

func NewCreateDepartmentLogic added in v0.2.4

func NewCreateDepartmentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateDepartmentLogic

func (*CreateDepartmentLogic) CreateDepartment added in v0.2.4

func (l *CreateDepartmentLogic) CreateDepartment(in *core.DepartmentInfo) (*core.BaseResp, error)

type DeleteDepartmentLogic

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

func NewDeleteDepartmentLogic

func NewDeleteDepartmentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteDepartmentLogic

func (*DeleteDepartmentLogic) DeleteDepartment

func (l *DeleteDepartmentLogic) DeleteDepartment(in *core.IDsReq) (*core.BaseResp, error)

type GetDepartmentByIdLogic added in v0.2.4

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

func NewGetDepartmentByIdLogic added in v0.2.4

func NewGetDepartmentByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDepartmentByIdLogic

func (*GetDepartmentByIdLogic) GetDepartmentById added in v0.2.4

func (l *GetDepartmentByIdLogic) GetDepartmentById(in *core.IDReq) (*core.DepartmentInfo, error)

type GetDepartmentListLogic

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

func NewGetDepartmentListLogic

func NewGetDepartmentListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDepartmentListLogic

func (*GetDepartmentListLogic) GetDepartmentList

type UpdateDepartmentLogic added in v0.2.4

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

func NewUpdateDepartmentLogic added in v0.2.4

func NewUpdateDepartmentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateDepartmentLogic

func (*UpdateDepartmentLogic) UpdateDepartment added in v0.2.4

func (l *UpdateDepartmentLogic) UpdateDepartment(in *core.DepartmentInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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