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
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(req *types.DepartmentInfo) (resp *types.BaseMsgResp, err error)
type DeleteDepartmentLogic ¶
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 ¶ added in v0.2.4
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(req *types.IDReq) (resp *types.DepartmentInfoResp, err error)
type GetDepartmentListLogic ¶
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 ¶ added in v0.2.4
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(req *types.DepartmentInfo) (resp *types.BaseMsgResp, err error)
Click to show internal directories.
Click to hide internal directories.