department

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDepartmentLogic

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

func NewCreateDepartmentLogic

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

func (*CreateDepartmentLogic) CreateDepartment

func (l *CreateDepartmentLogic) CreateDepartment(req *types.DepartmentInfo) (resp *types.BaseMsgResp, err 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(req *types.IDsReq) (resp *types.BaseMsgResp, err error)

type GetDepartmentByIdLogic

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

func NewGetDepartmentByIdLogic

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

func (*GetDepartmentByIdLogic) GetDepartmentById

func (l *GetDepartmentByIdLogic) GetDepartmentById(req *types.IDReq) (resp *types.DepartmentInfoResp, err 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

func (l *GetDepartmentListLogic) GetDepartmentList(req *types.DepartmentListReq) (resp *types.DepartmentListResp, err error)

type UpdateDepartmentLogic

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

func NewUpdateDepartmentLogic

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

func (*UpdateDepartmentLogic) UpdateDepartment

func (l *UpdateDepartmentLogic) UpdateDepartment(req *types.DepartmentInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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