Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDepartmentLogic ¶
func NewCreateDepartmentLogic ¶
func NewCreateDepartmentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateDepartmentLogic
func (*CreateDepartmentLogic) CreateDepartment ¶
func (l *CreateDepartmentLogic) CreateDepartment(in *core.DepartmentInfo) (*core.BaseIDResp, error)
Department management
type DeleteDepartmentLogic ¶
func NewDeleteDepartmentLogic ¶
func NewDeleteDepartmentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteDepartmentLogic
func (*DeleteDepartmentLogic) DeleteDepartment ¶
type GetDepartmentByIdLogic ¶
func NewGetDepartmentByIdLogic ¶
func NewGetDepartmentByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDepartmentByIdLogic
func (*GetDepartmentByIdLogic) GetDepartmentById ¶
func (l *GetDepartmentByIdLogic) GetDepartmentById(in *core.IDReq) (*core.DepartmentInfo, error)
type GetDepartmentListLogic ¶
func NewGetDepartmentListLogic ¶
func NewGetDepartmentListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDepartmentListLogic
func (*GetDepartmentListLogic) GetDepartmentList ¶
func (l *GetDepartmentListLogic) GetDepartmentList(in *core.DepartmentListReq) (*core.DepartmentListResp, error)
type UpdateDepartmentLogic ¶
func NewUpdateDepartmentLogic ¶
func NewUpdateDepartmentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateDepartmentLogic
func (*UpdateDepartmentLogic) UpdateDepartment ¶
func (l *UpdateDepartmentLogic) UpdateDepartment(in *core.DepartmentInfo) (*core.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.